Delete all messages to and from a domain in exim queue

Use the ssh command below to remove all messages from and to a users domain.  This will help to resolve issues with your exim smtp mail queue. You can adjust the search string accordingly.

The command below will delete all emails TO domain.com:

# exiqgrep -i -t domain.com | xargs exim -Mrm

The command below will delete all emails FROM domain.com:

# exiqgrep -i -f domain.com | xargs exim -Mrm
  • 1 Users Found This Useful
這篇文章有幫助嗎?

相關文章

Why is hotmail Blocking/Junking my mail?

Because of Hotmail's extremely aggressive spam protection policies, senders may find valid...

Error 550 – “The recipient cannot be verified”

On servers running cPanel, you may find that mail sent to valid users it bounced back by...

How do I get my mail headers?

Retrieving email headers is a very important step in reporting or troubleshooting any email...

535 authentication failed in roundcube

SMTP error 535 authentication failed in roundcube SMTP Error (435): Authentication failed If you...

Postfix Email Queue Commands

To flush mail queue under Sendmail MTAsendmail -qpostfix flushOR postfix -f To see mail queue,...