Host to Delete a Specific Email in Postfix on Linux

Author: , September 14th, 2017

root@outbound:/var/log # postqueue -p -Queue ID- –Size– —-Arrival Time—- -Sender/Recipient——- 593E2FC69D 3970 Tue Sep 12 23:15:36 MAILER-DAEMON (connect to yourDomain.com[10.10.10.10]:25: Connection timed out) yourUser@yourDomain.com — 4 Kbytes in 1 Request. root@outbound:/var/log # postsuper -d 593E2FC69D postsuper: 593E2FC69D: removed postsuper: Deleted: 1 message root@outbound:/var/log # postqueue -p Mail queue is empty

How To Force Sendmail to Process the Mail Queue

Author: , August 4th, 2016

To force sendmail to process the mail queue, execute as root: sendmail -q -v The optional -v enables verbose mode to assist with troubleshooting. To display the current contents of the mail queue, execute as root: mailq

How To Empty the Email Queue in Postfix

Author: , July 11th, 2013

postsuper -d ALL

How To Flush The Mail Queue In Postfix

Author: , December 13th, 2010

Flush the mail queue: # postfix flush OR # postfix -f View the mail queue: # mailq Delete all mail from the queue: # postsuper -d ALL Delete all mails in the deferred queue: # postsuper -d ALL deferred