V8 sendmail strips backslashes only when a delivery agent has the F=s flag (?§20.8.44
on page 779) set, and then only if they are not inside full quotation marks. V8 sendmail
also strips backslashes when dequoting with the dequote dbtype (?§23.7.5 on
page 904).
Mail to \user is delivered to user on the local machine (bypassing further aliasing)
withth e backslashstripped. But for mail to \user@otherhost the backslash is preserved
in both the envelope and the header.
Table 18-1. Pre-V8.13 balancing characters
Begin End
" "
( )
[ ]
< >
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
18.3 Tokenizing Rules | 655
18.3 Tokenizing Rules
The sendmail program views the text that makes up rules and addresses as being
composed of individual tokens. Rules are tokenized??”divided into individual parts??”
while the configuration file is being read and while they are being normalized.
Addresses are tokenized at another time (as we??™ll show later), but the process is the
same for both.
The text our.domain, for example, is composed of three tokens: our, a dot, and
domain. Tokens are separated by special characters that are defined by the
OperatorChars option (?§24.9.83 on page 1062) or the $o macro prior to V8.7:
define(`confOPERATORS??, `.:%@!^/[ ]+??) ?†? m4 configuration
O OperatorChars=.
Pages:
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153