This installation of Exim includes Exiscan content scanning support,
from http://duncanthrax.net/exiscan-acl/, which is documented in
/usr/local/share/doc/exim/exiscan-acl-spec.txt.  The ports tree
includes various content scanners that might be useful, e.g.
mail/p5-Mail-SpamAssassin and security/clamav.

Notes for enabling malware scanning with the excellent clamd scanner
are in /usr/local/share/doc/exim/POST-INSTALL-NOTES.clamd.

When Exiscan is actually enabled in the Exim configure file, great
care should be taken to test upgrades, since Exiscan updates tend
to not maintain backward compatibility.

The following documentation has been installed:

  man exim                              -> Exim options (command line)
  /usr/local/share/doc/exim/spec.txt    -> Exim Specification (User Guide)
  /usr/local/share/doc/exim/filter.txt  -> Exim Filter Specification (for end-users)

Postscript, PDF, HTML and texinfo versions of these documents can be
installed via one of the mail/exim-doc-* ports.

An online version as well as a comprehensive FAQ and a mailing list
archive is available at:

  http://www.exim.org/

Descriptions of new features not available it the manual, and a listing
of all changes, including bug fixes are documented in:

  /usr/local/share/doc/exim/NewStuff
  /usr/local/share/doc/exim/ChangeLog

To use Exim instead of sendmail on startup:

*) Clear the sendmail queue and stop the sendmail daemon.
*) Adjust mailer.conf(5) as appropriate.
*) Set the 'sendmail_enable' rc.conf(5) variable to 'NONE'.
*) Set the 'daily_status_include_submit_mailq' and
   'daily_clean_hoststat_enable' periodic.conf(5)
   variables to 'NO'.
*) Set the 'exim_enable' rc.conf(5) variable to 'YES'.
*) Start exim with '/etc/rc.d/exim start'.

You may also want to configure newsyslog(8) to rotate Exim log files:

/var/log/exim/mainlog	mailnull:mail 640 7 * @T00 ZN
/var/log/exim/rejectlog	mailnull:mail 640 7 * @T00 ZN

NOTE TO OPERATORS UPGRADING FROM exim-3.xx:

There was a big reworking of the way mail routing works for release
4.00. Previously used "directors" were abolished, and all routing is
now done by routers. Policy controls for incoming mail are now done by
Access Control Lists instead of separate options. All this means that
pre-4.00 configuration files have to be massively converted. If you
are coming from a 3.xx release, please read the document in the file
/usr/local/share/doc/exim/Exim4.upgrade, and allow some time to complete
the upgrade.

Additional scripts to help upgrading are installed in:

  /usr/local/share/examples/exim
