I use the following recipe to filter out file attachments that my carry a
virus. For some reason, this also filters out file attachments of type .msg
and .html Does anyone know why this recipe is doing this?
##########################################
# a1 - Filter out attachments of type vbs, exe, hta, scr, js, wma, chm, pif,
bat and com.
# store this messages in mail account viruscontrol. This gives
# us a chance to examine the message for possible error in filtering.
:0B
* ^[ \t]*name.*\.(vbs|exe|hta|scr|pif|js|bat|com|wma|chm)|\
^.*name.*\".*\.(exe|vbs|hta|scr|pif|js|bat|com|wma|chm)\"|\
^Content-.*\".*\.(hta|vbs|exe|scr|pif|js|bat|com|wma|chm)\"|\
^filename=.*\".*\.(hta|vbs|exe|scr|pif|js|bat|com|wma|chm)\"|\
^name=.*\".*\.(hta|vbs|exe|scr|pif|bat|mp3|com|wma|chm)\"|\
^name=.*.*\.(hta|vbs|exe|scr|pif|bat|mp3|com|wma|chm)|\
^name=*.\.(hta|vbs|exe|scr|pif|bat|mp3|wma|chm)|\
^.*name=.*\.(vbs|exe|hta|scr|pif|bat|mp3|wma|chm)|\
^filename=.*\"worms.zip\"
{
:0
viruscontrol
}
Dave Cook
CCSA
642 North Tower
Colorado Springs, CO 80905
Voice: (719) 635-8565
email: dcook(_at_)ccs-a(_dot_)com
Fax: (703) 783-6622
Web: http://www.ccs-a.com
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail