At 18:47 2002-03-27 -0300, Leandro Rodrigo Saad Cruz did say:
0) Do I really have to use 'f' flag ?
You're FILTERING the message. That's when you use 'f'.
1) Am I right ? did I misss something ?
Your regexp seems entirely too loose. Consider the following appearing
_anywhere_ within a message:
We will bounce whenever the filename = "fubar.exe"
Unless the perl script is outputting something to a constant file, or
otherwise cannot run concurrent with another copy of itself, there is no
need for the locking flag ':' at the tail end of the flags line.
2) How can I print/log handle-attachment output for debugging purposes ?
Have you tried emitting messages to STDERR?
3) How can I pass the matched file extension to handle-attachment ?
Revise your regexp and use $MATCH. OTOH, one would hope the
handle-attachment.pl script might be capable of figuring it out internally
though, as you are passing the message and it has to break out the
attachment(s).
---
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