procmail
[Top] [All Lists]

Virus filter

2003-08-22 01:15:05
Hello,

I have a virusfilter with the following recipe:
    *  ^Content-Disposition: attachment;
    *filename=.*\.(scr|lnk|vbs|swf|shs|com|pif|bat|src|wfs|vbe|wsh|hta)

It works quite well on attachments like "virus.com" but it also catches files 
like "www.virusfree.com.document.zip"

How can I correct the script so that it only checks the file-extension and not 
the whole filename?

Regards,
Frank Nørvig


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