HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
s
sendmail(1M) sendmail(1M)
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 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
SafeFileEnviron-
ment
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
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(2) 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 ‘‘interac-
tive’’ messages behind large backlogs under some circumstances. It is
recommended to use this option if you have high speed links or do not pro-
cess 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 submission.
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.
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.
needvrfyhelo Insist on HELO (or EHLO) before the VRFY command.
novrfy Disallow VRFY command totally.
restrictmailq Restrict mailq command.
restrictqrun Restrict -q command-line flag.
noreceipts Do not return success DSN’s.
goaway Disallow essentially all SMTP status queries.
authwarnings Put X-Authentication-Warning headers in messages if
HELO was not used inside SMTP transaction.
noverb Flag to disable the SMTP VERB command.
noetrn Flag to disable the SMTP ETRN command.
By default, authwarnings and restrictqrun are enabled.
DaemonPortOptions=field1=value,field2=value,...
The fields currently supported by sendmail are:
Family The values can be either inet or inet6. The default value is
inet.
HP-UX 11i Version 2: December 2007 Update − 8 − Hewlett-Packard Company 317