TCP/IP Configuration and Management Manual
Configuring the NonStop TCP/IP Subsystem
TCP/IP Configuration and Management Manual—427132-004
3-53
Simple Mail Transfer Protocol (SMTP)
Define Mailer—M
Each mailer must have an internal name. This name can be arbitrary, except that the
names local must be defined.
The format of a define mailer line is:
M mailer-name field=value [,field=value ...]
where mailer-name is the name of the mailer (used internally only) and the
field=value pairs define attributes of the mailer. Fields are:
You must give the actual name of the mailer in the P field; however, this mailer is
accessed through an IPC connection, use the string [IPC] instead. The flags field
influences the header field: the headers are expanded according to the flags specified
here. If you use the ?x? format in the header field, that header line is included if you
defined the flag x in this flag string.
For example, the following line indicates that a TCP connection needs to be
established to the host specified in $h:
Mtcp, P=[IPC], F=mPSFMueXLC, S=14, R=24, A=IPC $h, E=\r\n
The S and R fields in the mailer description are per-mailer rewriting sets to be applied
to sender and recipient addresses, respectively. These sets are applied after the
sending domain is appended and the general rewriting sets (numbers one and two) are
applied, but before the output rewrite (rule set four) is applied.
For example:
Mlocal, P=TRANSFER
indicates that local mail has to be delivered to TRANSFER.
Issues
RFC 1495 describes the format of the mail message itself. The parser in the address
parser follows this RFC closely, to the extent that many standards described in this
document cannot be changed without changing the code. In particular, the characters
< > ( ) “ \ all have special interpretations. Any attempt to use these characters for
something other than their RFC 1495 purpose in addresses can produce undefined
results.
P - (Path) The mailer path.
F - (Flags) Special flags for this mailer.
S - (Sender) A rewriting set for sender addresses.
R - (Recipient) A rewriting set for recipient addresses.
E - (End-of-Line) The end-of-line string for this mailer.
M - (Maxsize) The maximum message length to this mailer.
A - (Arguments) Arguments to be passed to this mailer.