Welcome to the Exim Wiki. This wiki covers extra information not in the official documentation. It allows users of Exim to supplement the documentation by adding examples and interfaces to other software and other how to information. For finding resources, try What Lives Where On The Web which describes where the website is, why there are currently two wikis, where to find mailing-lists, source code, bug-tracking, etc.
This wiki was converted from the old one hosted on exim.org. There may be some issues with the conversion - please fix up any formatting or linking problems you discover.
You too can be part of the documentation process. Do you have a trick that you would like to contribute? You can edit these pages and create new pages as long as you have a GitHub login. This allows you to share your tricks with everyone else just like they shared their tricks with you.
Removing Bad Mail
for i in `exiqgrep -i -f nobody`; do exim -Mrm $i; done >> Removes Nobody Mail for i in `exiqgrep -i -o 259200`; do exim -Mrm $i; done >> Removes Mail older than 3 Days for i in `exiqgrep -i -f “^<>$”`; do exim -Mrm $i; done >> Removes Mail with weird Characters (Spam)
Delete mails from a particular domain
for i in `exiqgrep -i -f domain.com`; do exim -Mrm $i; done
Delete mails to a particular domain
for i in `exiqgrep -i -r domain.com`; do exim -Mrm $i; done
Flush the entire Mail queue
for i in `exiqgrep -i -f `; do exim -Mrm $i; done exim -bp | exiqgrep -i | xargs exim -Mrm
Run Mail queue
Who is having large number of emails?
exim -bp | exiqsumm
To check message header
exim -Mvh messageid
To check message content
exim -Mvb messageid
Many plugins available.
The exim wiki, hosted on github. You need a github login to edit. Please add to and improve the content of this wiki