Hi all,
I've setup procmail to filter email attachements like this
procmailrc
----------
:0 HB fw:
* .filename *=? *\"?.*\.(doc|exe|com)(=\?)?\"?
| /home/leandro/handle-attachment.pl
----------
AFAIK, handle-attachment will receive email Body and Header (HB) and ,
depending on exit status, one of the followinf will occour
STATUS
== 0 -> procmail will forward handle-attachment output
!= 0 -> procmail will restore original email.
0) Do I really have to use 'f' flag ?
1) Am I right ? did I misss something ?
2) How can I print/log handle-attachment output for debugging purposes ?
3) How can I pass the matched file extension to handle-attachment ?
--
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail