procmail
[Top] [All Lists]

Re: if loops and variables

2001-07-23 16:49:43
Jack Coates is using one of Jari Aalto's canned rcfiles:

| INCLUDERC = $PMSRC/pm-jaempty.rc

and then trying to carry out his intentions with the information it gives
him:

| :0:
| * BODY_EMPTY ?? "yes"
| "quarantine"

The quotation marks in `"yes"' are going to be taken literally.  If Jari's
rcfile sets $BODY_EMPTY to
`"yes",' it should work, but if it sets that variable to `yes,' you won't
get a match.

(Those around "quarantine" are unnecessary but should be harmless.)

To be straight with you, Jack, I'd do this:

 :0B: # brackets enclose caret, space, tab
 * ! [^     ]
 quarantine

rather than course through a separate rcfile.



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