Home » Postfix » Flush postfix queue

Flush postfix queue

Traditional “sendmail -q” command flushes mail queue. Under Postfix, just enter the following to flush the mail queue

# postfix flush

OR

# postfix -f

To view mail queue, enter:

# mailq

To delete all mail from the queue, enter:

# postsuper -d ALL

To delete all mails in the deferred queue, enter:

# postsuper -d ALL deferred

About

I am founder and webmaster of www.linuxpcfix.com and working as a Sr. Linux Administrator (Expertise on Linux/Unix & Cloud Server) and have been in the industry from last 7 years.

Leave a Reply

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

*
*

Time limit is exhausted. Please reload the CAPTCHA.

Categorized Tag Cloud