Skip to content

Instantly share code, notes, and snippets.

@dlangille dlangille/details
Last active Mar 17, 2019

Embed
What would you like to do?
$ sudo ls -l /var/spool/postfix/defer/B/B251C2BDE /var/spool/postfix/corrupt/B251C2BDE
-rwx------ 1 postfix wheel 2140 Sep 22 2017 /var/spool/postfix/corrupt/B251C2BDE
-rw------- 1 postfix postfix 309 Sep 22 2017 /var/spool/postfix/defer/B/B251C2BDE
[dan@zuul:~] $ sudo rm /var/spool/postfix/defer/B/B251C2BDE /var/spool/postfix/corrupt/B251C2BDE
Mar 16 11:30:00 zuul postfix/master[1058]: terminating on signal 15
Mar 16 11:32:40 zuul postfix/postqueue[50540]: fatal: Queue report unavailable - mail system is down
Mar 16 11:37:40 zuul postfix/postqueue[52435]: fatal: Queue report unavailable - mail system is down
Mar 16 11:42:40 zuul postfix/postqueue[54246]: fatal: Queue report unavailable - mail system is down
Mar 16 11:47:41 zuul postfix/postqueue[55920]: fatal: Queue report unavailable - mail system is down
Mar 16 11:52:41 zuul postfix/postqueue[57810]: fatal: Queue report unavailable - mail system is down
^C
[dan@zuul:~] $ date
Sat Mar 16 11:53:22 UTC 2019
[dan@zuul:~] $ sudo service postfix start
postfix/postfix-script: warning: damaged message: corrupt/B251C2BDE
postfix/postfix-script: starting the Postfix mail system
[dan@zuul:~] $ sudo service postfix restart
postfix/postfix-script: stopping the Postfix mail system
postfix/postfix-script: warning: damaged message: corrupt/B251C2BDE
postfix/postfix-script: starting the Postfix mail system
[dan@zuul:~] $ mailq
Mail queue is empty
[dan@zuul:~] $ sudo find /var/spool -name B251C2BDE
/var/spool/postfix/defer/B/B251C2BDE
/var/spool/postfix/corrupt/B251C2BDE
[dan@zuul:~] $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.