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
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.
procmail mailing list