procmail
[Top] [All Lists]

RE: Virus protection.

2001-02-27 17:43:41

So would this be a reasonable recipe to check for attachments with
.vbs/.bat/.pif attachments?


:0HB
* ^Content-[-a-z0-9_]+:.*="?[^"]*\.(vbs|bat|pif)
{
        :0c:
        | echo "A message with Subject $SUBJECT was flagged as being a possible 
virus
and put in the $MAILDIR/virus folder" |\
                Mail -s "[highimpt] Possible virus" $USER

        :0w:
        virus
}


(note the [highimpt] is just my way of flagging certain messages for other
reasons)


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