Name
srv_features
Synopsis
Immediately after an inbound host connects to the listening sendmail daemon, and before the daemon issues its initial greeting message, sendmail performs the following steps:
It does a PTR lookup of the connecting host’s address to find the hostname.
It clears its buffers and counters, and sets all its defaults, to ready itself for the upcoming SMTP dialog.
It presets key macros to their current values, such
${load_avg}
.It calls the
srv_features
rule set to tune features so that they match the requirements of the connecting host.
The srv_features
rule set is declared like this:
LOCAL_SRV_FEATURES
... your rules here
The srv_features
rule set must return a
$#
followed by one or more of the characters
defined in Table 19-3. When more than one character
is returned, each must be separated from the next by a space. Each
character turns a feature on or off. If the character is lowercase,
it turns the feature on. Uppercase turns the feature off. One
character, the t
, is special because it causes
sendmail to temporarily fail the connection.
On |
Off |
Description |
|
|
Offer the AUTH SMTP extension |
|
|
Offer use of the SMTP VERB command |
|
|
Offer the DSN SMTP extension |
|
|
Offer the ETRN SMTP extension |
|
|
Require the client to authenticate with AUTH |
|
|
Offer the PIPELINING SMTP extension |
|
|
Offer the STARTTLS SMTP extension |
|
|
Verify a client certificate |
|
|
Offer use of the SMTP EXPN ... |
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.