procmail
[Top] [All Lists]

Re: flag lines

2003-07-04 18:35:00
Andrew Edelstein wrote:

Using 0 is just the default number that everyone uses. You could
use any number.

No, you could not use just any number. The number says that the next N lines, asterisked or not, are conditions and that the action line follows them. An asterisk at the beginning of what procmail expects to be the action line means it's a condition after all and that the action line is still to come.

Therefore the number has to be both (a) greater than or equal to the number of conditions up through the last one that has no asterisk and yet (b) less than or equal to the total number of conditions. If you always put an asterisk in front of every condition, zero is always safe to use.

If you don't supply a number, procmail assumes 1, unless there is an `A,' `a,' `E,' or `e' flag present, in which case procmail assumes 0.

DWT


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