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 ...

Get Sendmail, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.