RSS feed

Postfix: delete all MAILER-DAEMON mails

February 24th, 2009 | Posted in Blog, Linux, Postfix | No Comments


mailq | grep MAILER-DAEMON | awk '{print $1}' | tr -d '*' | postsuper -d —

Or


mailq | tail +2 | awk  'BEGIN { RS = "" } / MAILER-DAEMON/ { print $1}'|postsuper -d —


No Comments to “Postfix: delete all MAILER-DAEMON mails”

There are no comments yet, add one below.


Leave a Comment






Categories