Skip to content
This repository

Welcome!

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 ...

See also


Wiki Conversion

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

Run Mail queue

runq -qqff&

Who is having large number of emails?

exim -bp | exiqsumm

To check message header

exim -Mvh messageid

To check message content

exim -Mvb messageid

Exim Pros

Many plugins available.

Exim Cons

Cryptic templates.

Something went wrong with that request. Please try again.