HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
s
sendmail(1M) sendmail(1M)
h being hours, d being days, and
w being weeks. For example, -q1h30m or -q90m
would both set the timeout to one hour thirty minutes. If time is specified,
sendmail
will run in background. This option can be used safely with
bd.
-qp[time] Similar to
-qtime except that instead of periodically forking a child to process the queue,
sendmail forks a single persistent child for each queue that alternates between pro-
cessing the queue and sleeping. The sleep time is given as an argument and default
value for the sleep time is 1 second. The process sleeps for at least 5 seconds if the queue
was empty in the previous queue run.
-qf Process saved messages in the queue once and do not
fork(), but run in the fore-
ground.
-qGname Process jobs only in the queue called name.
-q[!]Isubstr
Limit processed jobs to those containing substr as a substring of the queue ID. When
! is
specified, limit processed jobs to those not containing substr as a substring of the queue
ID.
-q[!]Qsubstr
Limit processed jobs to quarantined jobs containing substr as a substring of the quaran-
tine reason, or limit jobs to those not containing the substring when ! is specified.
-Q[reason] Quarantine a normal queue with the given reason or unquarantine a quarantined queue
if a reason is not given. This option must be used with a matching item.
-q[!]Rsubstr
Limit processed jobs to those containing substr as a substring of one of the recipients, or
limit jobs to those not containing the substring when ! is specified.
-q[!]Ssubstr
Limit processed jobs to those containing substr as a substring of the sender, or limit jobs
to those not containing the substring when ! is specified.
-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 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 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.
HP-UX 11i Version 3: February 2007 − 3 − Hewlett-Packard Company 337