Previous Table of Contents Next


Mailer Flags

The flags you can set in the mailer description are described in Table 4-12.

Table 4-12 Flags You Can Set in the Mailer Description for sendmail

Flag Description
C If mail is received from a mailer with this flag set, any names in the header that do not have an at sign (@) after being rewritten by ruleset 3 have the @domain clause from the sender tacked on. This flag allows mail with headers of the form:
From: usera@local
To: userb, userc@remote
to be automatically rewritten as:
From: usera@local
To: userb@local, userc@remote
D This mailer wants a Date: header line.
E Escape From lines to be >From (usually specified with U).
e This mailer is expensive to connect to, so try to avoid connecting normally; any necessary connection occurs during a queue run.
F This mailer wants a From: header line.
f This mailer wants the -f from flag, but only if this is a network forward operation. (That is, the mailer gives an error if the executing user does not have special permissions.)
h Preserve uppercase in host names for this mailer.
L Limit the line lengths as specified in RFC 821.
l This mailer is local (that is, final delivery will be performed).
M This mailer expects a Message-Id: header line.
m This mailer can send to multiple users on the same host in one transaction. When a $u macro occurs in the argv part of the mailer definition, that field is repeated as necessary for all qualifying users. The L= field of the mailer description can be used to limit the total length of the $u expansion.
n Do not insert a UNIX-style From line on the front of the message.
P This mailer expects a Return-Path: line.
p Always add local host name to the MAIL From: line of SMTP, even if there already is one.
r Same as f, but sends the -r flag.
S Do not reset the user ID before calling the mailer. This flag is used in a secure environment in which sendmail ran as root. This flag can be used to avoid forged names.
s Strip quote characters from the name before calling the mailer.
U This mailer wants UNIX-style From lines with the UUCP-style remote from <host> on the end.
u Preserve uppercase in usernames for this mailer.
X This mailer uses the hidden dot algorithm as specified in RFC 821; basically, any line beginning with a dot will have an extra dot inserted at the front (to be stripped at the other end). This flag ensures that lines in the message containing a dot do not terminate the message prematurely.
x This mailer expects a Full-Name: header line.


Previous Table of Contents Next