procmail
[Top] [All Lists]

Re: problem with recipe - script and forwarding

2002-06-06 10:44:08
It doesn't use 'c' on each recipe which should be operating on a COPY
of the message - the first recipe action "delivers" the message and
it's done with there.  Alternatley, if your test and munpack steps are
supposed to be _filters_, then you should be using the 'f' flag.

Ahh, i see what you mean, and that makes complete sense.
Here is my revision:

:0
* ^From(_dot_)*(_at_)approbation(_dot_)org
{
        :0c
        ! td(_at_)domain(_dot_)com
        :0cf
        | /usr/local/bin/test.pl 10006 td
        :0cf
        | /usr/bin/munpack -C /tmp/test/10006
}

I moved the forward to the top to keep the email in its original state
before I munpack it.

Seems to work great!

Thank you!

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


-- 
Terry Davis
http://approbation.org/

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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