I have a mailq which is getting backed up with multiple emails with the same subject line. I would like to delete all emails in the mailq that match a particular subject line so they don't get sent. Any ideas how to do this? Pretty urgent as its spam related.

link|improve this question

what MTA are you using ? – topdog Jun 17 '11 at 9:38
I'm using postfix – David Jun 17 '11 at 9:39
feedback

1 Answer

up vote 0 down vote accepted

Postfix does not have a utility like exigrep, so you will need to grep the queue files for the subject and then pipe the queue id to postsuper to delete them

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.