exiqgrep allows you to search exim mail queue.

To search for a particular recipients, run

To search for all emails from a particular email account, use

You can use -i option to list only message id. This is useful when you need to delete mails from a particular account.

To delete all email sent from a particular email account, run

To delete all frozen emails from queue, run

If you have too many emails, then use xargs -P option to specify how many mails to delete at a time

This command will delete 20 mails at a time.

Delete all mails in queue

To delete all emails in queue run


Leave a Reply

Your email address will not be published. Required fields are marked *