All rights reserved.
626 | Chapter 17: Configure sendmail.cf with m4
Building and using mail.local is described in ?§10.3 on page 359. Once it is built and
installed, you can use this FEATURE(local_lmtp) to enable use of that program. One way to
do that looks like this:
FEATURE(`local_lmtp??)
MAILER(`local??)
Note that this feature must be declared before you define the local delivery agent. This
feature defines bothth e use of mail.local and the place where that program can be found.
By default, that location is /usr/libexec/mail.local. If you installed mail.local in a different
place or under a different name, you can specify that location like this:
FEATURE(`local_lmtp??, `/usr/sbin/mail.local??)
MAILER(`local??)
This feature also sets the LOCAL_MAILER_FLAGS (?§20.5.6.2 on page 744) to a default of
F=PSXfmnz9, sets the LOCAL_MAILER_ARGS (?§20.5.2.1 on page 738) to a default of
mail.local -l, and sets the LOCAL_MAILER_DSN_DIAGNOSTIC_CODE (?§20.5.16 on
page 754) to a default of SMTP. If you need to change any of these, you can do so with the
proper mc macro. Just be sure you make all your changes after FEATURE(local_lmtp) was
declared, and before the local delivery agent is declared:
FEATURE(`local_lmtp??)
?†? define your new values here
MAILER(`local??)
Beginning withV8.13, sendmail allows you to add a third, optional argument that supplies
the command-line arguments for the mail.
Pages:
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103