procmail
[Top] [All Lists]

Re: problem with recipe - script and forwarding

2002-06-06 12:42:54
At 12:39 2002-06-06 -0500, Terry Davis did say:

Ahh, i see what you mean, and that makes complete sense.

Please refer to my .sig before you DELIBERATLEY add me as a recipient to a list reply. There's a good reason my address shouldn't have appeared by default when you hit reply.

       :0cf
       | /usr/local/bin/test.pl 10006 td
        :0cf
        | /usr/bin/munpack -C /tmp/test/10006

If they're FILTERS, don't use the 'c' flag. It's a 'c' if you have a separate delivery, 'f' if you're filtering it (changing the message which will reach the next stage).

Further, if they are filters, they'll output to stdout (where procmail will find the filtered message), in which case the two filters can be combined:

        :0f
| /usr/local/bin/test.pl 10006 td | /usr/bin/munpack -C /tmp/test/10006

There might be an issue with the creation of the file from the first statge though - I presume that's the shared argument between the two. Also, if the programs are in your PATH, you shouldn't need to declare explicit paths to them.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

_______________________________________________
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>