Postfix flush mail queue :
Category: Linux / Tag: mail queue, mailq, postfix, postfix mail queue, postsuper, sendmail / Add Comment
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
Category: Linux / Tag: mail queue, mailq, postfix, postfix mail queue, postsuper, sendmail / Add Comment
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