Meta

Remove mail from the Postfix queue

Submitted by admin, on April 6th, 2012

Queue maintenance is an important part of the administration of any SMTP mail server. There may be times where you get a lot of emails attempting to be sent, that either aren’t getting transmitted successfully, or you don’t want them to get transmitted. The “postsuper” command allows you to remove individual emails, or even all emails from the queue.

If you would like to just remove one specific email from the queue, you need to get the Queue ID. You can get this by using the “postqueue -p” command to display the emails waiting in the queue. The output should look something like this: