O'Reilly logo

Sendmail, 3rd Edition by Bryan Costales

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

PrivacyOptions

Synopsis

The PrivacyOptions option is used primarily as a way to force other sites to adhere to SMTP conventions, but can also be used to improve security.

The forms of the PrivacyOptions option are as follows:

O PrivacyOptions=what,...               configuration file (V8.7 and later) 
-OPrivacyOptions=what,...               command line (V8.7 and later) 
define(`confPRIVACY_FLAGS',``what,...'')    mc configuration (V8.7 and later) 
Opwhat,...                              configuration file (deprecated) 
-opwhat,... command line (deprecated) 

Multiple what arguments are allowed but they must be separated from one another by commas[50] (there can be arbitrary spaces around the commas). For example:

define(`confPRIVACY_FLAGS',``authwarnings, needmailhelo'')

If this option is entirely omitted or if no what arguments are listed, the option defaults to public. The default for the mc configuration technique is authwarnings. The possible what arguments are listed in Table 24-23, and are described in more details in the sections that follow.

Table 24-23. PrivacyOptions option keywords

Keyword

§

Meaning

authwarnings

See this section

Enable X-Authentication-Warning: headers

goaway

See this section

Much checking for privacy and security

needexpnhelo

See this section

Require HELO before EXPN

needmailhelo

See this section

Require HELO before MAIL FROM:

needvrfyhelo

See this section

Require HELO before VRFY

nobodyreturn

See this section

Prevent RETURN=FULL from returning the body (V8.10 and later)

noetrn ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required