procmail
[Top] [All Lists]

Re: Auto Respond Looping

2000-11-03 10:06:11
Stan commented on Philip's advice to Todd,

| There's one other problem, Todd... the script contains:
|     (formail -r -A"X-Loop: $LOGNAME(_at_)domain(_dot_)com";
| 
| and $LOGNAME won't match $LOGNAME(_at_)domain(_dot_)com .

Yes, it will.  The regexp in

 * $ ! ^X-Loop: $LOGNAME

was not right-anchored.

It might be a good idea to put the domain in both places (and to escape the
periods where it is used in the regexp) in case somebody else on another site
has the same logname and uses an X-Loop: marker, but that is for a problem
of false matches to the regexp, not false failures to match.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>