EXIM 






There’re two Unix nodes running BSDI BSD/OS v2.1 at our company. As an MTA (Mail Transport Agent) we use Exim version 2.10. I particularly recommend it to everyone and that’s why:
(1) It has just one easy (in comparison with Sendmail)-configurable  configuration file.
(2) This MTA (inclusive a special simple filter-language) could perform wide range of actions on your mail message (take for example, save it in a file, forward it, popup an error message and etc.) depending on one or more conditions (such as headers analysis results, file size, results of a database query and much more).
(3) If I remember rightly there were no security troubles found.

Here  you  could throw a look at my working configuration file for Exim. This file supports SMTP, UUCP, batchmail, global and reverse aliases, Return-Receipt-To processing.

To my mind, one of most uncomfortable Exim’s imperfections is the impossibility to specify a headers conversion for each mailer itself. If you’re interested in this question look at this  script . It helps to look through the mail statistics in a readable way. It requires one more script  and the following options to be setup in the configuration file:
log_subject
log_received_recipients

The script running results look like: Date Time From Size Subject => To [To]...
The first command line parameter indicates the number of days since the day we’d like to get statistics on (so, «0» or empty one indicates today, «1» – yesterday and so on up to «9», «@» indicates all the days), second and third (or first and second, if the parameter is empty and we’re getting statistics on today) parameters are keywords (you could use «@» if you don’t want to specify one of the keys.)

Here’re some examples of parameters list:
"oper rtac2" – today’s statistics on all messages with "oper" and " rtac2" keywords;
"0 oper rtac2" – the same;
"2 ao@rosten @" – the day before yesterday’s statistics on all messages with "ao@rosten" keyword;
"@ ao@rosten äîãîâîð" – all existing statistics on all messages with "ao@rosten" è "äîãîâîð" keywords.