Prev | Current Page 1139 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"


Note that prior to configuration file version 9, configuration files had to have pairs of
parentheses that also had to balance. That is, with version 8 and lower configuration
files, the following rules:
V8
Stest
R x (RHS
R y RHS)
would produce the following errors:
% echo =Stest | /usr/sbin/sendmail -bt -Ctest.cf
test.cf: line 3: (RHS... Unbalanced '('
test.cf: line 3: R line: null RHS ?†? RFC2822 comment removed
test.cf: line 4: RHS)... Unbalanced ')'
Line 3 (the second line of output in this example) shows that with configuration files
prior to version 9, a parenthesized expression was interpreted as an RFC822 comment
and removed.
18.2.2.1 As of V8.13, rules no longer need to balance
Prior to V8.13, special characters in rules were required to balance. If they didn??™t,
sendmail would issue a warning and try to make them balance:
SCheck_Subject
R ----> test <---- $#discard $: discard
When a rule such as the preceding one was read by sendmail (while parsing its configuration
file), sendmail would issue the following warning:
/path/cffile: line num: ----> test <----... Unbalanced '>'
/path/cffile: line num: ----> test <----... Unbalanced '<'
Thereafter, sendmail would rewrite this rule internally to become:
R <----> test ---- $#discard $: discard
Clearly, such behavior made it difficult to write rules for parsing header values and
for matching unusual sorts of addresses.


Pages:
1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151
dieta light noclegi Władysławowo życzenia ślubne Internet pozycjonowanie