/pmdf/bin/sendmail
is designed for compatibility with mail
user agent applications. However, it is not intended to be 100%
compatible with sendmail when it comes to command line options for use
by human users in submitting messages or management activities. PMDF's
design has some fundamental differences from sendmail's design; PMDF as
a whole provides a safer implementation of all sendmail's
functionality, plus a great many additional capabilities. Not all
sendmail command line options make sense for PMDF's sendmail
replacement; the underlying functionality may be provided by PMDF in a
way other than sendmail options.
Instead, for submitting messages from the command shell, see the
pmdf send
utility, described in the UNIX Edition of the
PMDF User's Guide . For checking on the PMDF queues, see the
pmdf qm
utility. For listing currently executing
PMDF processes, see the pmdf process
utility. Or for
other management activities such as testing address rewriting, see
additional PMDF utilities described in Chapter 31 .
The command line options recognized by PMDF's sendmail replacement are shown in Table 17-1 .
Option | Usage |
---|---|
-help
|
Help; gives list of options supported |
-h
|
Synonym for
-help
|
-t
|
Use headers for envelope addresses |
-odq
|
Enqueue only, with priority set to nonurgent |
-oee
|
No error status returned to shell |
-fuser
|
Set From: username to
user. In general, must be superuser, or in the
pmdf_world group, to set
user to other than one's own username, though users in the
pmdf_world_username
group are also allowed to specify
-f=username
.
|
-bs
|
SMTP dialog to
stdin /
stdout --- all other options ignored
|
-oi
|
Line containing single dot (.) does not terminate message |
-i
|
Synonym for
-oi
|
-ruser
|
Synonym for
-fuser
|
The following are always set when sending a message | |
-oem
|
Mail error message back to user |
-om
|
The sender address will not be stricken, if present, from the recipient list during alias expansion |
-m
|
Synonym for
-om
|
-odb
|
Background delivery (asynchronous) |
The following are ignored without error messages | |
-v
|
Set verbose mode |
-oo
|
Old header format (with spaces instead of commas between addresses) |
-odi
|
Interactive delivery |
The following are not applicable, and generate an error | |
-bd
|
Start SMTP server |
-bm
|
Deliver mail |
-bp
|
Print mail queue information |
-bt
|
Test configuration |
When submitting to the local channel, i.e., invoking
/pmdf/bin/sendmail
, users may set the PMDF_FROM
environment variable to specify their From: address. PMDF will insert a
Sender: header line with the authenticated address if it is different
than the From: address.