2010
06.01

We all know that the command `sendmail -q` will flush the mails in queue. In Postfix, enter the following to flush the mail queue:

# postfix flush

Or you can use:

# postfix -f

To see mail queue, enter:
# mailq

To remove all mail from the queue:
# postsuper -d ALL

To remove all mails in the deferred queue:
# postsuper -d ALL deferred

7 comments so far

Add Your Comment
  1. [...] Read this article: Linux, Hosting tips » Postfix flush mail queue [...]

  2. [...] Go here to read the rest: Linux, Hosting tips » Postfix flush mail queue [...]

  3. [...] Link: Linux, Hosting tips » Postfix flush mail queue [...]

  4. [...] Read the original post: Linux, Hosting tips » Postfix flush mail queue [...]

  5. [...] here to read the rest:  Linux, Hosting tips » Postfix flush mail queue Posted in Postfix | Tags: deferred, enter-the-following, from-the-queue, Postfix, queue, [...]

  6. [...] See the original post here: Linux, Hosting tips » Postfix flush mail queue [...]

  7. [...] See the article here: Linux, Hosting tips » Postfix flush mail queue [...]

Spam protection by WP Captcha-Free