Current time: 05-07-2024, 07:29 PM Hello There, Guest! (LoginRegister)


Post Reply 
How to disable a user account that is spamming big time
Author Message
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #11
RE: How to disable a user account that is spamming big time
Tzvook Wrote:
BeNe Wrote:
Code:
postsuper -d ALL

For more info
Code:
man postsuper

Greez BeNe

10X BeNe
It did the Job :-)
Hope it solved all the problems

It looks like you have your queue all cleaned up, but I figured i'd add a little more info to this thread. Smile

Like I said before, I've had the same issue where a single users site was spamming the world... Sad In this case my mail queue was backed up with outgoing messages from this user and i wanted to blow them all out of the queue without affecting anyone else. The command BeNe gave, although 100% effective in emptying the queue, will remove all messages from the queue, whether they are from this spamming user or not... This could delete valid messages to other users on your account that have not yet been delivered (for one reason or another).

To limit this delete to a specific user, I've used the following command to delete all mail to/from a perticular email address:

mailq |grep problemaccount@domain.com|tr -d '*!'|awk '/problemaccount@domain.com/ {print $1}' |postsuper -d -

I hope that helps you out in the future.

Cheers,
Jesse
11-30-2007 11:30 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to disable a user account that is spamming big time - pgentoo - 11-30-2007 11:30 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)