On Thu, 2002-07-18 at 08:21, Udi Mottelo wrote:
On 17 Jul 2002, Leandro Rodrigo Saad Cruz wrote:
Hi all.
I wrote a message filter that is invoked by procmail wit ha recipe the
resembles :
:0 HB f w
*filename*=? *.*\.\/(list of file extensions goes here)
| filter.pl $MATCH
This fails to filter a second attachment ( a third , etc, etc ).
Is there anyway to tell procmail to keep searching a RE inside my
message and pass all matches to my filter ??
1. I think that if you add "b" flag procmail will pass the
whole body to the script.
I think that the default is hb
2. Procmail could not proccess a message - the main job will
be done in the filter.pl and you can just:
Yes. I know. I was hopping to have more help from procmail, but I think
I'll have to *really* filter the message searching for attachments !!
:0 fbw
* filename*=? *.*\.(list of file extensions goes here)
| filter.pl
3. BTW: procmail set the MATCH as environmant, the script will
know $MATCH with no need for args.
Didn't know that. thanx !
Bye,
Udi
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
--
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