procmail
[Top] [All Lists]

Re: why is this not right?

2010-03-05 15:21:14
On Fri, 5 Mar 2010, Christopher L. Barnard wrote:
This is all one recipe.  So the ":0" is on the line before ^Subject, and
then the ^From switch is within the recipe.  So my understanding is that
they should not have individual :0 lines.

Incorrect. Once you open the set of braces you must specify either one or
more recipes with their own :0 at the beginning of each, AND/OR you could specify some form of variable assignment. Procmail will only treat the recipe as 'delivering' if there is a successful 'delivering' recipe within the braces. That's why you need the :0 line, so that you may specify flags for each recipe inside.

- C
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

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