How can I delete a big bunch of mails from the mailqueue without hunting each ones two files down with locate and manually delete them?
Is there a command for that?
Or has somebody ever written a bash script for that, that takes for example the FROM address and dumps all mails with that FROM address from the queue?
I hope whoever comes up with a bash script for that can accept PayPal!
Thanks
DearWebby
It needs to be adjusted to match your queue directory and the email address of the sender of you want removed from the queue.
If this happens to be a lot of spam on a web server I'd also check your web sites for compromised web forms and/or WordPress plugins being used to send spam.