Pages

Wednesday, March 27, 2013

Postfix Flush the Mail Queue

Traditionally you use the “sendmail -q” command to flush mail queue under Sendmail MTA. Under Postfix MTA, just enter the following command to flush the mail queue:[...]



postfix flush
OR
postfix -f
To see mail queue, enter:
mailq
To remove all mail from the queue, enter:
postsuper -d ALL
To remove all mails in the deferred queue, enter:
postsuper -d ALL deferred

No comments:

Post a Comment