HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)
s
sendmail(1M) sendmail(1M)
LinkedServiceSwitchFileInWritableDir
FileDeliveryToHardLink
FileDeliveryToSymLink
WriteMapToHardLink
WriteMapToSymLink
WriteStatsToHardLink
WriteStatsToSymLink
RunProgramInUnsafeDirPath
RunWritableProgram
DontInitGroups=
True|False
This can be set to true to prevent program deliveries from picking up extra group
privileges.
MaxRecipientsPerMessage=
no_of_recipients
This option limits the number of recipients, no_of_recipients that will be accepted in a
single SMTP transaction. After this number is reached,
sendmail starts returning
"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
This option allows to specify a 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
If set, causes sendmail to do a setuid to that user early in processing to avoid poten-
tial security problems. However, this means that /var/spool/mqueue
directory
owned by the user and all
.forward and :include: files must be readable by that
user, and all files to be written must be writable by that user, and all programs will be
executed by that user. It is also incompatible with the
SafeFileEnvironment
option. In other words, it may not actually add much to security. However, it should be
useful on firewalls and other places where users do not have accounts and the aliases
file is well constrained.
SafeFileEnvironment=
option
If set, files named as delivery targets must be regular files in addition to the regular
checks. Also, if the option is non-null, then it is used as the name of a directory that is
used as a chroot(2) environment for the delivery; the file names listed in an alias or for-
ward should include the name of this root.
QueueSortOrder=option
This option can take two values (host or priority and time ). Based on that, the queue will
be sorted.
host This makes better use of the connection cache, but may delay more ‘‘interac-
tive’’ messages behind large backlogs under some circumstances. This is a
good option if you have high speed links or do not do lots of ‘‘batch’’ mes-
sages, but less good 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 submission.
This may cause a bad behaviour over slow lines and on nodes with heavy
traffic. Also, this does not guarantee that jobs will be delivered in submis-
sion order unless you also set DeliveryMode=queue. In general, it
should probably only be used on the command line, and only in conjunction
with -qRhost.domain.
PrivacyOptions=flag
The available values for flag are
public Allow open access.
needmailhelo Insist on HELO (or EHLO) before the MAIL command.
needexpnhelo Insist on HELO (or EHLO) before the EXPN command.
noexpn Disallow EXPN command totally.
Section 1M−−824 Hewlett-Packard Company − 6 − HP-UX 11i Version 1: September 2005