4.2 on page 270), and
more.
See LOCAL_RULE_3 (?§17.3.3.4 on page 596) for a way to add rules to the canonify
rule set 3.
Figure 19-4. V8 splits rewriting: envelope (solid) versus header (dashed)
1
canonify=3 final=4 input returns
2 Re=
Rh=
Se=
Sh=
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
692 | Chapter 19: The S (Rule Sets) Configuration Command
19.3.1 A Special Case: From:<>
Among the rules in a typical canonify rule set 3 are those that handle empty
addresses. These represent the special case of an empty or nonexistent address.
Empty addresses should be turned into the address of the pseudouser that bounces
mail, MAILER-DAEMON:
R $@ $@ < @ > empty becomes special
Here, an empty address is rewritten to be a lone @ surrounded by angle braces. Other
rule sets later turn this special token into $n (which contains MAILER-DAEMON as
its value).
19.3.2 Basic Textual Canonicalization
Addresses can be legally expressed in a variety of formats:
address
address (full name)
full name
list:members;
When sendmail preprocesses an address that is in the third and forth formats, it
needs to find the address inside an arbitrarily deep nesting of angle braces. For example,
where is the address in all this?*
Full Name
Pages:
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213