-7

-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 (EightBitMode) 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') 

Here, the -7 command-line switch causes mail.local to exclude -8BITMIME from the list of features it supports.

 220 yourhost LMTP ready   mail.local sends  >>> LHLO yourhost.your.domain   sendmail sends  250-yourhost   mail.local sends  250-ENHANCEDSTATUSCODES 250 PIPELINING 


Sendmail
sendmail, 4th Edition
ISBN: 0596510292
EAN: 2147483647
Year: 2002
Pages: 1174

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net