Top Nav

Exim Mail Queue Cleanup

How to remove all messages in an Exim queue (on a cPanel server, for example) from or to a specific user:

  1. SSH into the server as root
  2. To delete all from a specific address:
  3. To delete all to a specific address:

Other useful selection criteria (replace the “-f user@domain” or “-t user@domain” options):
-y Message younger than
-o Message older than
-z Frozen messages only (exclude non-frozen)
-x Non-frozen messages only (exclude frozen)