HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)

s
sendmail(1M) sendmail(1M)
-bi Initialize the alias database for the mail aliases file.
newaliases is identical to sendmail
-bi
. See newaliases(1M).
-bm Deliver mail in the usual way (default).
-bp Print a listing of the mail queue.
mailq is identical to sendmail -bp. See mailq(1).
-bs Use the SMTP protocol as described in RFC821 on standard input and output. This flag implies
all the operations of the ba flag that are compatible with SMTP.
-bt Run in address test mode. This mode reads addresses and shows the steps in parsing; it is used
for debugging configuration tables.
-bv Verify names only; i.e, do not try to collect or deliver a message. Verify mode is normally used
for validating users or mailing lists.
Flags
sendmail recognizes the following flags:
-Ac Use the submit.cf file even if the operation mode does not indicate an initial mail sub-
mission.
-Am Use the sendmail.cf file even if the operation mode indicates an initial mail submis-
sion.
-Btype Set the body type. type can be either 7BIT or 8BITMIME.
-Cfile Use alternate configuration file. sendmail refuses to run as root if an alternate
configuration file is specified.
-dX Set debugging value to X. X can also be of the form category.level (eg;
-d56.12). A low
level or category produces less output; but a high level or category produces more output.
The default for category is 0 and that for level is 1.
-Ffullname Set the full name of the sender.
-fname Set the name of the ‘from’’ person (i.e., the sender of the mail) to name. If the user of
the
-f option is not a ‘‘trusted’’ user (normally root, daemon, and network) and if the
name set using the
-f option and the login name of the person actually sending the mail
are not the same, then it results in an X-Authentication-Warning
in the mail
header.
-G Relay the message without any processing.
-hN Set the hop count to N. The hop count is incremented every time the mail is processed.
When it reaches a limit, the mail is returned with an error message, the victim of an
aliasing loop. If not specified, ‘‘Received:’’ lines in the message are counted.
-i Ignore dots alone in lines by themselves in incoming messages. This should be set if you
are reading from a file.
-Ltag Specify an identifier to be used in syslog messages. The identifier is set to tag.
-n Do not do aliasing.
-Ndsn Set delivery status notification conditions. Following are the valid conditions to which
dsn can be set:
never For no notifications.
failure If delivery failed.
delay If delivery is delayed.
success When message is successfully delivered.
-Ooption=value
Set the configuration option option to a specified value. Options are described below in
"Processing Options."
-ox=value Set option x to a specified value. Options are described below in "Processing Options."
-pprotocol Set the name of the protocol used to receive the message. This can be a simple protocol
name such as UUCP or a protocol and hostname, such as UUCP:ucbvax .
-qtime Process saved messages in the queue at given intervals. If time is omitted, process the
queue once. time is given as a tagged number, with s being seconds, m being minutes,
336 Hewlett-Packard Company 2 HP-UX 11i Version 3: February 2007