sendmail.1m (2010 09)

s
sendmail(1M) sendmail(1M)
LinkedIncludeFileInWritableDir
LinkedMapInWritableDir
LinkedServiceSwitchFileInWritableDir
FileDeliveryToHardLink
FileDeliveryToSymLink
WriteMapToHardLink
WriteMapToSymLink
WriteStatsToHardLink
WriteStatsToSymLink
RunProgramInUnsafeDirPath
RunWritableProgram
DontInitGroups=
True |False
Set this option to true, to prevent program deliveries from picking up extra group
privileges.
MaxRecipientsPerMessage=
no_of_recipients
Use this option to limit the number of recipients, no_of_recipients that will be accepted
in a single SMTP transaction. After this number is reached,
sendmail starts return-
ing "452 Too many recipients" to all
RCPT commands. This can be used to limit the
number of recipients per envelope (in particular, to discourage use of the server for
spamming). Note: A better approach is to restrict relaying entirely.
MaxHeadersLength=
max_header_length
Use this option to specify the maximum length of the sum of all headers,
max_header_length. This can be used to prevent a Denial-of-Service(DoS) attack.
RunAsUser=user
Use this option to enable sendmail do a setuid to that user early in processing to
avoid potential security problems. However, this means that /var/spool/mqueue
directory owned by the user and all .forward and :include: files must be read-
able by that user , and all files to be written must be writable by that user , and all pro-
grams will be executed by that user. It is also incompatible with the
SafeFileEn-
vironment option. In other words, it may not actually add much to security. How-
ever, it should be useful on firewalls and other places where users do not have accounts
and the aliases file is well constrained.
SafeFileEnvironment=
option
Files named as delivery targets must be regular files in addition to the regular checks
in order to use this option. Also, if the option is non-null, then it is used as the name of
a directory that is used as a
chroot() environment for the delivery; the file names
listed in an alias or forward should include the name of this root.
QueueSortOrder=option
Use this option to sort the queue based on the following values:
host This makes better use of the connection cache, but may delay more
‘‘interactive’’ messages behind large backlogs under some circumstances.
It is recommended to use this option if you have high speed links or do not
process too many ‘‘batch’’ messages; it might not perform better, if you are
using something like PPP on a 14.4 modem.
time This option causes the queue to be sorted strictly on the time of submis-
sion. This might adversely affect the performance over slow lines and on
nodes with heavy traffic. Also, this does not guarantee that jobs will be
delivered in submission order unless you set DeliveryMode=queue
option. In general, it should be used only on the command line, and in
conjunction with -qRhost.domain.
Filename This option sorts the queue by filename. This avoids opening and reading
each queue file while preparing to run the queue. This will speed up the
queue processing.
PrivacyOptions=flag
The flag can be set to the following values:
public Allow open access.
8 Hewlett-Packard Company 8 HP-UX 11i Version 3: September 2010