Prev | Current Page 1162 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

5 on page 696) and localaddr rule set 5
(?§19.6 on page 700) (and occupies the first position in the rewritten workspace), the
$# operator tells sendmail that the second token in the workspace is the name of a
delivery agent (here, local). When used in the check_ rule sets (?§7.3 on page 265 and
?§7.1 on page 252) subsequent tokens in the workspace (here, OK) say how a message
should be handled.
Note that the $# operator can be prefixed witha $@ or a $: without losing its special
meaning because those prefix operators are not copied to the workspace:
$@ $# local rewritten as ?†’ $# local
* Stylistically, it is easier to read rules that have spaces between all patterns that are expected to match separate
tokens. For example, use $+@ $* $=m instead of $+@$*$=m. This style handles subroutine calls automatically.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
668 | Chapter 18: The R (Rules) Configuration Command
However, those prefix operators are not necessary because the $# acts just like a $@
prefix. It prevents the LHS from attempting to match again after the RHS rewrite,
and it causes any following rules (in that rule set) to be skipped. When used in nonprefix
roles in the parse rule set 0 and localaddr rule set 5, $@ and $: also act like
flags, conveying host and address information to sendmail (?§19.


Pages:
1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174
Holandia szklarnie ogrodowe śmieszne dowcipy życzenia katalog stron