FEATURE(local_no_masquerade)

FEATURE(local_no_masquerade)

Don't masquerade local mail V8.12 and above

Ordinarily, the MASQUERADE_AS mc configuration macro (Section 4.4.2) causes header, envelope, sender, and recipient addresses to appear as though they were sent from the masquerade host. Sometimes it is desirable to perform masquerading only when mail is sent offsite, and not to masquerade when mail is sent from one user to another locally.

For just such situations, the local_no_masquerade feature is available. You declare it like this:

 FEATURE(`local_no_masquerade') 

You must make this declaration before you declare the local delivery agent. If you mistakenly declare local first, like this:

 MAILER(`local')   wrong, local must not be first  FEATURE(`local_no_masquerade') 

you will see the following error, and your configuration file will be incomplete:

 *** MAILER(`local') must appear after FEATURE(`local_no_masquerade') 


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