Quick Guide to Exim

Setup

  1. If running RedHat 7.1, you'll have to build the RPM for the SRC RPM because the RPMs available from Exim RPMs were compiled to use an older version of OpenSSL than the one installed in RH 7.1 : rpm --rebuild exim-3.22-2.src.rpm ; rpm -Uvh /usr/src/redhat/RPMS/i386/exim-3.22-2.i386.rpm
  2. vi /etc/aliases, and set which unpriviledged user should receive mail intended for root, eg. root:    jdoe
  3. If you want unqualified addresses to have a specific domain added instead of the mailer's FQDN name (eg. jdoe rewritten as jdoe@acme instead of jdoe@mylinux.acme), edit /etc/exim.conf, and change "qualify_domain" so that
  4. /etc/rc.d/init.d/exim start
  5. echo "Hello, world" | mail -s "Testing Exim" root
  6. su - jdoe
  7. cat /var/spool/mail/jdoe, and check that the above message was saved into jdoe's mailbox

Resources