Stephen Allen:
* ! $ ^X-Loop: $\LOGNAME(_at_)$\HOSTNAME
a) I don't understand ! $ ^X-Loop.. etc... What does the $ mean here?
The loose '$' in (the start of) the condition means 'reparse from here'.
It is necessary for expanding the variables in the condition.
Normally a '$' inside a condition matches a newline-character
(ASCII-10). But starting at a loose '$', the rest of the line is parsed
for things to expand, like $LOGNAME and $HOSTNAME. (Shouldn't HOSTNAME
be HOST?)
b) Why do $LOGNAME and $HOSTNAME have a \ after the $ symbols?
In 'man procmailrc' this is said about '$\':
"$\name will be substituted by the
all-magic-regular-expression-characters-disarmed equivalent of $name"
That is 'cryptic' for: "use $\var in stead of $var when you use a
variable inside a condition, unless you set up $var especially for usage
inside a condition".
Message-ID: <017401c5952c$70bd9720$c800a8c0(_at_)dangermouse>
There really should be a FQDN after the @.
--
Grtz, Ruud
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail