Pagemakers Silver Pleskian Aug 21, 2013 #1 How do I empty the mail queue of specific emails using SSH? I want to delete all emails sent from x.com for example.
How do I empty the mail queue of specific emails using SSH? I want to delete all emails sent from x.com for example.
T tuomas136 New Pleskian Aug 21, 2013 #2 If you are using Postfix, try this: postqueue -p|grep [email protected]|grep -v said|cut -d' ' -f1|cut -d'*' -f1|postsuper -d - This will delete all messages sent from [email protected]
If you are using Postfix, try this: postqueue -p|grep [email protected]|grep -v said|cut -d' ' -f1|cut -d'*' -f1|postsuper -d - This will delete all messages sent from [email protected]