procmail
[Top] [All Lists]

Re: x-loop non seen

2003-10-20 08:26:16
François Patte wrote:

I have some trouble for a recipe sendind an automatic reply: procmail seems to
ignore the X-loop statement. Here is the recipe (copied from man procmailex):

You aren't giving procmail the "$" indicator to tell it to expand variables in the condition:

* !^X-Loop: $MOI

Procmail will read that as

 not [ (newline)x(hyphen)loop(colon)(space)(newline)moi ]

This is the proper syntax; it tells procmail to do variable and command substitution on the condition:

 * $ !^X-Loop: $MOI

You could also put a space after the exclamation point, or transpose the exclamation point and the first dollar sign.


_______________________________________________
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>