Configuration of Exim

Exim, like postfix and qmail, was designed to be a sendmail replacement. Therefore, it has helper programs and supports command-line options to enable a smooth transition from sendmail. Exim is monolithic like sendmail, in that the exim program handles the acceptance of email on TCP port 25 and the delivery of mail. There are a number of helper programs that come with exim, however. Some of the more common ones are listed in Table 17-3.

Table 17-3. Exim programs

Program name

Description

/usr/bin/mailq.exim

Drop-in replacement for sendmail’s mailq command.

/usr/bin/newaliases.exim

Drop-in replacement for sendmail’s newaliases command.

/usr/bin/runq.exim

Alias for /usr/sbin/exim. Running this command is the same as running exim –q. This forces a single run through the mail queue, attempting a resend on every item.

/usr/lib/sendmail.exim

Handles sendmail command-line options and passes them to exim.

/usr/sbin/exim

The main exim binary, this process listens on TCP port 25 for incoming SMTP connections and hands incoming mail to the local delivery agent.

/usr/sbin/eximstats

Generates statistics from exim mainlog or syslog files.

/usr/sbin/exiwhat

Describes what the exim process is currently doing.

/usr/sbin/exinext

Gives specific information about retry efforts for an email address.

/usr/sbin/exipick

Displays individual messages from the exim mail queue.

/usr/sbin/exiqgrep

Searches for strings in the mail queue.

/usr/sbin/exiqsumm

Summarizes the current contents of the mail queue.

Get LPI Linux Certification in a Nutshell, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.