* ! $ ^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
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".
There really should be a FQDN after the @.
procmail mailing list Procmail homepage: http://www.procmail.org/