Linux/OSS : Exim
Exim is a free, highly configurable, robust MTA ('mailserver') which enjoys widespread use by small and large organisations alike. I've built this page to provide some useful information about it; primarily in terms of content scanning for spam/viruses.
Exim Course at Cambridge University, July 2005
Notes from the course
For those present on the course, or anyone else who's interested, the notes/slides from the course are available to download:
- Full notes/transcript
- Slides - pretty similar to the 2004 slides, see below.
See below for my spam & virus scanning mini-HOWTO.
Exim Course at Cambridge University, July 2004
As part of the 2004 UK Exim training course at Cambridge University, I gave a talk on Wednesday 14th July about content scanning with Exim. Notes, slides and handouts are available below.
Notes from the course
For those present on the course, or anyone else who's interested, the notes/slides from the course are available to download:
See below for my spam & virus scanning mini-HOWTO.
Spam/Virus scanning with Exim 4.x
I've produced a mini HOWTO summarily describing how to set up Exim 4.x to perform 'realtime' virus and spam scanning on incoming mails.
Currently, this guide covers Exim 4.50+, with SA-Exim 3.1+ and the Content Scanning Extension/Exiscan-ACL. Information about 'original' (non-ACL) Exiscan is no longer included, but you can download an older version which includes this below.
Comments/suggestions/corrections etc. are welcome - contact me.
- Spam and Virus Scanning with Exim 4.x/Exiscan and SA-Exim, Version 1.0.12 (12 Nov 2006) [PDF] (quite large; I don't know why - sorry)
- Spam and Virus Scanning with Exim 4.x/Exiscan and SA-Exim, Version 1.0.11 (12-Jul-2004) [HTML online] (I apologise for the poor format of this document, which is exported from OpenOffice. I will try to come up with a better way of providing a HTML version)
The previous version:
- Spam and Virus Scanning with Exim 4.x/Exiscan and SA-Exim, Version 1.0.11 (12 July 2004) [PDF]
The last version which covers 'original' Exiscan:
- Old version of Spam and Virus Scanning with Exim 4.x/Exiscan and SA-Exim, Version 1.0.8 (5-Nov-2003) [PDF]
RPM packaging
I used to maintain RPM packaging for Exim, which was here. However, I now recommend that everyone uses the semi-official Exim RPM packages which provide all the features my original ones did, plus more. These semi-official packages are now maintained by me and include both binary and source RPMs. Also, Fedora Core 2+ now includes Exim as an option; the Fedora RPMS and the semi-official ones are almost identical. Peter Poeml is also maintaining some SuSE RPMs for Exim.
Migration from my RPM packaging
For those migrating from my old packages, there isn't a huge amount to note - Nigel's RPMs are quite similar. However, a few caveats:
- SA-Exim is compiled as a dynamically loadable module. You wll probably need to add this option to your config file if you use SA-Exim:
local_scan_path = /usr/libexec/exim/sa-exim.so
- The new RPMs use the user 'exim' (rather than 'mailnull'), which has a reserved UID of 93 on Fedora. This user is normally created upon installing the RPMs. (To rebuild the RPMs, you may need to create it first). You will probably need to 'chown' everything that Exim needs to access, including /etc/exim/*, /var/log/exim*, /var/spool/exim* and possibly other files depending on your configuration.
- SA-Exim and Eximon are in separate packages
- Nigel's RPMs use /etc/exim/exim4.conf rather than /etc/exim/exim.conf for the main config file location
Just in case you wanted the old stuff for something, please check here.
Exiscan patches
I've produced a few small Exiscan patches over time; however, none of them are required with the latest version of Exiscan. Old versions are here.