Clone this wiki locally
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.
On this wiki ...
- Frequently asked questions
- Exim Introduction and feature list
- How to download and install Exim
- What's new and change logs.
- Configuring Exim
- Exim Security
- Testing an Exim installation
- Exim Development
- Release Policy
- Upgrading from Exim 3
- Commercial Support for Exim
- Exim Home
- Exim Documentation
- Download Exim
- Exim Mailing Lists
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.
Participate - Learning about Wikis
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.
Some SSH tricks for Exim
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.