procmail
[Top] [All Lists]

Re: ERROR: rescue of unfiltered data succeeded

2002-01-19 06:05:36
I don't quite understand that, why? As I understood it, Adhamh wanted
the message to be processed by the next recipe as well, and I thought
that without a `f' in the recipe `head', the recipe would be considered
a delivering recipe, thus processing for that mail would terminate
(unless a `c' was used to keep processing on a copy that is).

Is it because of the `NEWTO=' part in the beginning of the line? Please
point me to where this is explained, I can't find it in the docs. Maybe
I just can't see the forest for all the trees though.

It's in the first few paragraphs of the procmailrc man page:

       There are two kinds of recipes: delivering and  non-deliv-
       ering  recipes.  If a delivering recipe is found to match,
       procmail considers the mail (you guessed it) delivered and
       will cease processing the rcfile after having successfully
       executed the action line of the recipe.  If a non-deliver-
       ing  recipe  is  found  to match, processing of the rcfile
       will continue after the action line  of  this  recipe  has
       been executed.

       Delivering recipes are those that cause header and/or body
       of the mail to be: written into a file, absorbed by a pro-
       gram or forwarded to a mailaddress.

However, it is easy to misunderstand in this case because, althought the
action is just assigning to a variable (rather than delivering to a
program), it performs the assignment by use of a program.  Confusing.

There's a little more later on in the procmailrc file where it is
talking about recipe action lines:

       |      Starts the specified program, possibly in $SHELL if
              any of the characters $SHELLMETAS are spotted.  You
              can optionally prepend this pipe symbol with  vari-
              able=, which will cause stdout of the program to be
              captured in the environment variable (procmail will
              not terminate processing the rcfile at this point).
              If you specify just this pipe symbol,  without  any
              program,  then  procmail will pipe the mail to std-
              out.

The middle sentence is the interesting bit, with the parenthetical
comment finally making it clear that processing will continue after this
action.

Hope that helps,
Martin
-- 
Martin McCarthy                 /</                  PGP key available
    `Procmail Companion'        \>\  http://www.ancient-scotland.co.uk
     Addison Wesley             /</    http://www.ehabitat.demon.co.uk
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail