Sun Microsystems Sun Workstation 100U System Manager's Manual page 346

Table of Contents

Advertisement

SendmaU
InataUatloa
aad
Operattoa
Guld.
11
$ n
Substitute indeSDite toten n lrom LHS
• >
n
"Call" ruleset n
$#
mailer Resolve to mailer
$Gho.'
Specify
Ao.'
Slu.er
Specify u.tr
The
$n
SYDtax substitutes the correspondiDI value lrom a
$+, $-, $., $-,
or
$-
match OD the LHS. It may be used anywhere.
The $>n SYDtax causes the remaiDder of the line to be substituted as usual and
then passed
38
the argument
to
ruleset no The 8DaI value of ruleset n then becomes the
substitutioD for this rule.
The
$#
SYDtax should
onl,l
be used in ruleset zero. It causes evaluatioD of the
ruleset to terminate immediately, and sisnala to .endmail that the address has com-
pletely resolved. The complete SYDtax is:
S#
mailerSG ho.ttlu.er
This specifies the {mailer, host, user} 3-tuple Decessary to direct the mailer.
II
the
mailer is local the host part may be omitted. The mtJiler and
Ao.'
must be aUDile
word, but the u.tr may be multi-pan.
A RHS may also be preceeded by a
$a
or a
$.
to cODtrol evaluation. A
$a
preb
causes the ruleset to returD with the remainder of the RHS as the value. A
$.
preb
causes the rule to terminate immediately, but the ruleset to cODtinue; this caD be used
to avoid cODtinued applicatioD of a rule. The preb is stripped before cODtinuinl.
The
SO
and
$.
prefixes may preceed a
$>
spec; for example:
R$+
$:$>7$1
matches anythinl, passes that to ruleset seveD, and cODtinUes; the
$.
is necessary
to
avoid an infinite loop.
5.2.5.
Semantlea
or r . . rltm. rule
leta
There are five rewritiDI sets that have speciflc semantics. These are related as
depicted by Figure 2.
Ruleset three should turn the address into "canonical form." This form should
have the basic SYDtax:
local-partChost-domain-spec
II no "0" sign is specified, then the h08t-domain-spec mtJlI be appended from the sender
address (if the C 81.1 is set in the mailer deSnition correspond in I to the .endin,
mailer). Ruleset three is applied by .endmtJil before doinl aDythina with any address.
R uleset zero is applied after ruleset three
to
addresses that are loinl to actually
specify recipients. It must re!lOlve to a {mtJi/er,
Ao.',
u.er} triple. The mtJi/er must be
defined in the mailer definitioDs from the configuratioD file. The lao.' is defined into the
Sh
macro for use in the argv expaDsion of the specified mailer.
R ulesets one and two are applied
to
all sender and recipient addresses respec-
tively. They are applied before any specification in the mailer defiDition. They must
Dever resolve.
.
R uleset four is applied to all addresses in the messale. It is typically used to
traDslate internal to exterDaI form.
l.t.l.
MaUer lap etc.
There are a Dumber of 8ap that may be associated with each mailer, each
ideDtiSed by a letter of the alphabet. Many of them are assilned semantics internally.
These are detailed iD AppeDdix C. An1 other 8ap may be used freely to cODditionally
Vento a 4.1
L"'~ocI
8/11/81

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents