Page 1 of 1

How to deletemail queue

Posted: 02 Jan 2025 06:47
by bennhana
Hi

I am failing to delete an email in queue using this command

sudo find /var/spool/MailScanner/milterin* -type f -exec grep -irl "<email address>" {} \; -exec rm -vf {} \;

Is there another command that I can use?

Re: How to deletemail queue

Posted: 04 Jan 2025 15:41
by Aryfir
Try this:

Code: Select all

postsuper -d ALL

Re: How to deletemail queue

Posted: 09 Jan 2025 06:30
by bennhana
Thanks for the response.I was able to resolve this.