How to drop current postfix queue
Thu, 26 Nov 2009 12:30:50 +0000
How to drop selected emails from postfix queue (useful when many automated e-mails are blocking it):
# mailq | awk '/^[A-Z0-9].*some.email@domain.com/ {print "postsuper -d " $1} ' | sh
or simpler: purge all queue (warning: you can loose important, undelivered e-mails forever!):
# postsuper -d ALL