If you want to modify any of the command-line switches given to mail.local by sendmail,
you can do so withth e LOCAL_MAILER_ARGS mc configuration macro,
which must follow the FEATURE(local_lmtp). For example:
FEATURE(`local_lmtp??)
define(`LOCAL_MAILER_ARGS??, `mail.local -l -7??)
Here, we have added a -7 to the default -l switch.
Not all switches are suitable for all installations. Review the following descriptions to
decide which ones you need.
10.3.3.1 -7
Don??™t advertise 8BITMIME in LMTP mail.local command-line switch
Ordinarily, when mail is delivered using LMTP, the LMTP conversation begins like this:
220 yourhost LMTP ready ?†? mail.local sends
>>> LHLO yourhost.your.domain ?†? sendmail sends
250-yourhost ?†? mail.local sends
250-8BITMIME ?†? note
250-ENHANCEDSTATUSCODES
250 PIPELINING
Here, mail.local is telling sendmail (in the fourth line) that it can correctly handle 8-bit
MIME (?§24.9.45 on page 1025) in received messages. If your site is a 7-bit only site, you
should not allow mail.local to accept 8-bit MIME messages. You disallow 8-bit MIME by
specifying this -7 command-line switch:
FEATURE(`local_lmtp??)
define(`LOCAL_MAILER_ARGS??, `mail.local -l -7??)
Table 10-4. The mail.local program??™s switches
Switch ?§ Description
-7 ?§10.3.3.1 on page 361 Don??™t advertise 8BITMIME in LMTP.
-b ?§10.3.3.
Pages:
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654