Empty Mailq

Skip to main content
Du bist hier:
Drucken

Empty Mailq

Delete specific emails from Mailq

To delete emails with a specific content (e.g. patterndomain.ch) from Mailq execute the following command:

 

postqueue -p|grep 'musterdomain.ch'|awk {'print $1'} | grep -v "(host"|tr -d '*!'|postsuper -d -

 

Related Post