procmail
[Top] [All Lists]

Re: Any logical combination of conditions

2001-04-09 13:51:47
Timothy asked,

| Will the E flag work under these conditions:
| 
| :0
| conditions 1
| { }
| 
| :0E
| conditions 2
| { }
| 
| :0E
| conditions 3
| { }

No, because with 0 as the number and no asterisk on the next line, the
procmail will read the first recipe, file all mail into $MAILDIR/conditions,
and report that it skipped "1" (unless "conditions" and "1" are both exist-
ing directories.  Now, if you had asked this,

| Will the E flag work under these conditions:
| 
| :0
| * conditions 1
| { }
| 
| :0E
| * conditions 2
| { }
| 
| :0E
| * conditions 3
| { }

| That if the first is TRUE then both the 2nd and 3rd will *not* execute?

That is correct.  One hit makes procmail skip the rest of the chain of E's.

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