This is more as a reminder for myself than anything else since I tend to forget Postfix commands unless I use them regularly.
To see all mails in the current queue:
mailq
To flush the mail queue run:
postfix flush
To remove all the mail from the queue (ie. delete it) run:
postsuper -d ALL
Leave a Reply