Pages

Wednesday, 10 April 2019

[CENTOS] Displaying messages in the mail queue and manually flushing them

The mail queue can be checked with simply:

mailq

Alternatively if you are after a count of messages that have been deffered for what ever reason you can issue:

find /var/spool/postfix/deferred -type f | wc -l

and to attempt to resend them we can issue:

postqueue -f

No comments:

Post a Comment