TCP/IP Configuration and Management Manual
Configuring the NonStop TCP/IP Subsystem
TCP/IP Configuration and Management Manual—427132-004
3-48
Simple Mail Transfer Protocol (SMTP)
Substitution occurs in the order described; parameters from the left-hand side are
substituted, hostnames are canonicalized, subroutines are called, and, finally, $#, $@,
and $: are processed.
Rule set number—S
The rules (R) are combined into rule sets, as specified by the S command. The syntax
of this command is as follows:
Sn
The S command sets the number of the current rule set being collected to n. If you
begin a rule set more than once, the old definition is deleted. The maximum number of
rule sets that can be defined is 30.
The above syntax defines a rule for the rule set n, as defined above. The rule set can
consist of server rules which are applied in sequence until a match is found.
The fields must be separated by at least one space character. Embedded spaces may
appear in the fields only if they are preceded by the backslash character (\). The left-
hand side is a pattern that is compared to the input. If the pattern matches the input,
the input is rewritten to the right-hand side. The comments are ignored.
The following example defines rule set 6 (S6):
S6
R$-%$-.TRANSFER $1#$2 user%expand.Transfer
R$-%$-.TRANSFER@$w $@$1#$2 user%expand.Transfer
An address of the following form is matched by the second rule in the rule set:
kent_joe%ab5.TRANSFER@pubs.kentcomm.com
where:
$-%$- matches kent_joe%ab5
and
$w matches pubs.kentcomm.com.
The address is rewritten as:
kent_joe#ab5
Define macro—D
Macros are named with a single character. You can use the entire ASCII set; however,
select user-defined macros from the set of upper-case letters only. Lower-case letters
and special symbols are used internally.
The syntax for macro definitions is as follows:
Dxval
where x is the name of the macro and val is the value of the macro.