procmail
[Top] [All Lists]

Re: recipe to stop procmail processing

2004-09-02 09:11:52
What I meant was saving the message in another folder and in $DEFAULT
and stopping procmail execution in 1 recipe rather than 2. It sounds like
there isn't so I'll just create the 2 recipes. Thanks again for your
input.

Brent

 On Thu, 2 Sep 2004, David W. Tamkin wrote:

Date: Thu, 02 Sep 2004 09:43:14 -0500
From: David W. Tamkin <dattier(_at_)panix(_dot_)com>
To: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: recipe to stop procmail processing

Brent Graham wrote:

OK, now for one more question. How about a recipe that copies
(not moves) the message to another folder and also stops further
processing?

Brent, I don't know where you think the message "is" when you talk about
"moving" it.  If you copy it to a folder and then stop processing, it is
in the folder where you put the copy and nowhere else, because you've
stopped processing.  When you say this,

I know I can do this with 2 recipes (first using :0 c: and
then the recipe below), but is there a way to combine it into one recipe?

we have to gather that you mean you want to save the message in both
$DEFAULT and one other folder when there's still more code in the
rcfile, but the remaining code applies only to other messages and not to
this one.

So no, there's no other way to do it.  To save a message in $DEFAULT
before the end of your recipes, you have to do it explicitly, either
with a recipe that saves to $DEFAULT or, in the circumstances I detailed
last time, by unsetting SWITCHRC or setting SWITCHRC=/dev/null.

____________________________________________________________
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


____________________________________________________________
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