Postfix Mail Queue Commands

To resend the mails in the mail queue, type either of the following two commands:

# postfix flush
# postfix -f

To see the mail queue, type:

# mailq

To remove all mail from the mail queue, type:

# postsuper -d ALL

To remove all mails in the deferred mail queue, type:

# postsuper -d ALL deferred

One Response to Postfix Mail Queue Commands

  1. Rohit says:

    What a life saver !

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">