HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
s
sendmail(1M) sendmail(1M)
Address IP address or hostname
Name Name of the agent (MTA or
MSA)
Port Port number (for Name=MSA
, the port number should be 587)
Send Send buffer size
Receive Receive buffer size
Listen Listen queue size
M Modifier flags.
Following are the values to which the modifier flag can be set:
a Require authentication.
b Bind to interface through which mail has been received.
c Pass the address for canonification.
f Enable fully qualified address for From address.
h Use name of interface for outgoing HELO command.
u Disable fully qualified address for From address.
C Do not pass the address for canonification.
E Turn off ETRN connections.
Note: In order to use the IPv6 feature, you need to set the
DaemonPortOp -
tions
with Family=inet6 . If this option is set with Name=MSA,aseparate
daemon starts at port 587 that acts as a Message Submission Agent (MSA).
ClientPortOptions=
field1=value,field2=value,...
This option is similar to
DaemonPortOptions
but meant for outgoing connections. See
DaemonPortOptions
above for the option values available.
Aliases
You can set up system aliases and user forwarding. The
alias and .forward files are described in the
aliases(5) manpage.
EXIT STATUS
sendmail returns an exit status describing what it did. The codes are defined in
<sysexits.h> :
EX_OK Successful completion on all addresses.
EX_NOUSER User name not recognized.
EX_UNAVAILABLE Catchall meaning necessary resources were not available.
EX_SYNTAX Syntax error in address.
EX_SOFTWARE Internal software error, including bad arguments.
EX_OSERR Temporary operating system error, such as ‘‘cannot fork’’ .
EX_NOHOST Host name not recognized.
EX_TEMPFAIL Message could not be sent immediately, but was queued.
WARNING
Terminating and restarting the sendmail daemon may not be instantaneous.
AUTHOR
The sendmail command was developed by the University of California, Berkeley, and originally appeared
in BSD 4.2.
FILES
$HOME/.forward User’s mail forwarding file
$HOME/dead.letter User’s failed message file
318 Hewlett-Packard Company − 9 − HP-UX 11i Version 2: December 2007 Update