How to Remove Certain Email from Postfix Queue
Posted By ariandita on December 12th, 2012
As System Administrator sometimes we need to remove certain email from queue, first we have to know what items we want to remove, please use the mailq syntax, let’s try with MAILER-DAEMON items that we actually not need
[code language=”html”]
mailq | grep MAILER-DAEMON
[/code]
when the items is selected and confirmed, use this command to remove all selected items
[code language=”html”]
mailq | grep MAILER-DAEMON | awk ‘{print $1}’ | tr -d ‘*’ | postsuper -d –
[/code]
Happy Administering System
Similar Posts
Share
- How to Reset the MySQL Root Password on Unix Systems
- Just a Note : Reconfigure Exim4 MTA in Debian
- How to LSBize and init Script in Debian
Comments 0