Tzvook Wrote:BeNe Wrote:
For more info
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.
Like I said before, I've had the same issue where a single users site was spamming the world...
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