Home > Linux, SysAdmin > Postfix: How to erase deferred mails from the queue

Postfix: How to erase deferred mails from the queue

December 12th, 2005 Mark Leave a comment Go to comments

I had a mail stuck in the deferred queue that was bugging me, a few google searches later resulted in the following commands in order to remove it:

mailq
postsuper -d <queueid>
Categories: Linux, SysAdmin Tags:
  1. vbmithr
    December 4th, 2007 at 10:18 | #1

    Thank you. Your message did serve to at least one person ;)
    I had some messages deffered in the mail queue, and I think it’s OK now.

  2. January 15th, 2008 at 11:24 | #2

    $postqueue -p
    //list all mails in queue along with unique id
    $postsuper -d ALL //deletes all mails fo queue
    $postsuper -d mail-id //deletes specific e-mail from queue

  1. No trackbacks yet.