HP-UX Reference (11i v2 04/09) - 1M System Administration Commands N-Z (vol 4)

s
sendmail(1M) sendmail(1M)
-qRsubstr Limit processed jobs to those containing substr as a substring of one of the recipients.
-qSsubstr Limit processed jobs to those containing substr as a substring of the sender.
-rname An alternate and obsolete form of the
f flag.
-Rreturn Set the amount of the message to be returned if the message bounces. The values that
can be set for return are as follows:
full To return the entire message
hdrs To return only the headers.
-t Read message for recipients. To:, Cc:, and Bcc: lines will be scanned for recipient
addresses. The Bcc: line will be deleted before transmission.
-U Initial (user) submission. This flag should always be set when
sendmail is called
from a user agent such as
mail
or elm. This flag should never be set when called
from a network delivery agent such as
rmail
.
-v Go into verbose mode. Alias expansions will be announced, etc.
-Venvid Set the original envelope identification. This is propagated across SMTP to servers
that support DSN’s (delivery status notification) and is returned in DSN-compliant
error messages.
-Xlogfile Log all traffic in and out of mailers in the indicated logfile. This should only be used as
a last resort for debugging mailer bugs. It will log a lot of data very quickly.
-- Stop processing command flags and use the rest of the arguments as addresses.
Processing Options
There are various processing options available. Normally these will only be used by a system administra-
tor. Options may be set either on the command line using the
-o flag or in the configuration file,
/etc/mail/sendmail.cf
. The options are:
AliasFile=file
Use alternate alias file.
AlertTmpFailure
If set, sendmail logs transient error messages as LOG_ALERT messages at
Loglevel>=2, else it logs as LOG_INFO messages at Loglevel>8.
HoldExpensive
On mailers that are considered ‘‘expensive’ to connect to, do not initiate immediate con-
nection. This requires queuing.
CheckpointInterval=
N
Checkpoint the queue file after every N successful deliveries (default 10). This avoids
excessive duplicate deliveries when sending to long mailing lists interrupted by system
crashes.
DeliveryMode=x
Set the delivery mode to x. The delivery modes are:
b background (asynchronous) delivery.
d deferred; the same as q except that database lookups (DNS and NIS lookups)
are avoided.
i interactive (synchronous) delivery.
q queue only; expect the messages to be delivered the next time when the queue is
run.
ErrorMode=x
Set error processing to mode x. The valid modes are:
e do special processing for the BerkNet.
m mail back the error message.
p print the errors on the terminal (default).
q throw away error messages (only exit status is returned).
Section 1M748 Hewlett-Packard Company 3 HP-UX 11i Version 2: September 2004