The Mailer Definitions Section:
The Mailer Definitions section defines the instructions used by sendmail to invoke the mail delivery.
The specific rewrite rules associated with each individual mailer are also defined in this
section. Mailer definitions begin with the mailer command (M). Searching through the Mailer
Definitions section of the Red Hat configuration file for lines that begin with M produces the mailer
definitions in the listing below.
Mlocal, |
P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, |
Mprog, |
P=/usr/sbin/smrsh, F=lsDFMoqeu9, |
Msmtp, |
P=[IPC], F=mDFMuX, |
Mesmtp, |
P=[IPC], F=mDFMuXa, |
Msmtp8, |
P=[IPC], F=mDFMuX8, |
Mdsmtp, |
P=[IPC], F=mDFMuXa%, |
Mrelay, |
P=[IPC], F=mDFMuXa8, |
Mprocmail, |
P=/usr/bin/procmail, F=DFMSPhnu9, |
The first two mailer definitions in the previous listing are required by sendmail. The first of these defines a mailer for local mail delivery. This mailer must always be called "local." The P argument defines the path to the local mailer. In this configuration, procmail is used as the local mailer. The second definition is for a mailer that delivers mail to programs, which is always called "prog". The P argument points to a program named smrsh, which is the Sendmail Restricted Shell—a special shell program specifically for handling mail. sendmail expects to find both of these mailers in the configuration, and requires that they be given the names "local" and "prog". All other mailers can be named anything the system administrator wishes. However, in practice, that is not the case. Because the sendmail.cf files on Linux systems are built from the same m4 macros, they use the same mailer names.
.