procmail
[Top] [All Lists]

Re: if-not-met with E, what will happen exactly

2000-03-19 14:22:55
Rejo Zenger wrote:

So, if foo.bar matches it should do the action for foo.bar and exit this
recipe completly. If foo.bar matches it will not test for foo.baz because of
that 'E' flag on that foo.baz test, but will it still do that last one?
Or will it skip that last one as well because of this 'E' flag on that
one?

This is in the fine procmailrc manpage.

          E    This recipe only executes if the immediately  preceding
               recipe was not executed.  Execution of this recipe also
               disables any immediately following recipes with the 'E'
               flag.  This allows you to specify `else if' actions.

Note in particular the second sentence, and that that sentence refers to
following recipes, plural.

-- 
Rik Kabel          Old enough to be an adult              
rik(_at_)netcom(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>