HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)
s
sendmail(1M) sendmail(1M)
-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 net-
work 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 mes-
sages.
-Xlogfile Log all traffic in and out of mailers in the indicated log file. 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 also a number of processing options that may be set. Normally these will only be used by a sys-
tem administrator. 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. If not set, sendmail logs transient error messages 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. Delivery modes are
i interactive (synchronous) delivery.
b background (asynchronous) delivery.
q queue only; expect the messages to be delivered the next time that the queue is
run.
d deferred; the same as q except that database lookups (DNS and NIS lookups) are
avoided.
ErrorMode= x
Set error processing to mode x. Valid modes are
m mail back the error message.
w ‘‘write’’ back the error message (or mail it back if the sender is not logged in).
p print the errors on the terminal (default).
q throw away error messages (only exit status is returned).
e do special processing for the BerkNet.
HP-UX 11i Version 1: September 2005 − 3 − Hewlett-Packard Company Section 1M−−821