procmail
[Top] [All Lists]

Re: procmail antivirus recipe trashing messages sent via photo suite

2001-08-06 06:34:13
* On [010806 15:03] Matt Dunford <zoot(_at_)zotikos(_dot_)com> wrote:
It matches here:

:0B
* .*\.(vbs|wsf|shs|scr|pif|bat|com|lnk)
/dev/null

What extension does a Photo Suite file use?

The problem is not what extension of photo suite file uses, but
rather that the recip as is greps the body for the string \.($bla).
In a largish binary file, the liklihood is quite high that a 4
letter string will contain the regexp.
You need to limit the recipe to match the line that would list the
attachment as one of the above. 
Something like this perhaps:
:0 B
* ^Name=\.($bla)
/dev/null

This exact problem was mentioned a few days ago and answered by
Sean (Professional Software Engineering).
-- 
Lawrence Mitchell
wence(_at_)newald(_dot_)homeip(_dot_)net
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail