TCP/IP Configuration and Management Manual

Configuring the NonStop TCP/IP Subsystem
TCP/IP Configuration and Management Manual427132-004
3-50
Simple Mail Transfer Protocol (SMTP)
The $e macro is displayed when SMTP starts up, that is, when connection is first
established with the mail RECEIVER. The first word must be the $j macro. The $j
macro should be in RFC 821 format. The $n macro can be considered constant. The
$o macro consists of a list of characters that are considered tokens and that separate
tokens when SMTP parses addresses. For example, if @ were in the $o macro, then
the input a@b would be scanned as three tokens: a, @, and b. Finally, the $q macro
specifies how an address should appear in a message when it is defaulted.
For example:
# my name
DnSMTP-MAILER
#
# Delimiters in an address (operators)
#
Do.:%@!^=/[]
# format of a total name, eg: john@host (John Smith)
Dq$g$?x ($x)$.
# SMTP login message
De$j SMTPGateway $v/$V ready at $b
A null string is used for both macros and classes, if they are not defined. For example,
the following string evaluates to .COM if $F is not defined:
$F.COM
The use of $F does not cause an error.
Item Class—C
You can define classes of words to match on the left-hand side of rewriting rules. For
example, you could create a class of all local names for this site so that attempts to
send to oneself can be eliminated. Use upper-case letters in class names; lower-case
letters and special characters are reserved for internal mailer use.
The syntax is:
Cxword1 [ word2 [ word3 ... ]]
This syntax defines the class x to match any of the named words. You may split the
words among multiple lines. For example:
CHvlx commvlx
and
CHvlx
CHcommvlx
are equivalent.
v The version number of SMTPSND
w The hostname of this site
x The full name of the sender