[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Catch VBS files on Sendmail
- Subject: [ale] Catch VBS files on Sendmail
- From: maltzen at MM.COM (Gary Maltzen)
- Date: Mon, 02 Oct 2000 20:10:44 -0500
Yes, but it's far easier to use procmail (/etc/procmailrc)
VIRUSDUMP='/var/spool/virus'
:0
*^Content-type: (multipart/mixed|application/octet-stream)
{
:0 HB
*^Content-Disposition: attachment;
*filename=".*\.(vbs|wsf|vbe|wsh|hta)"
{
:0 fhw
| formail -A "X-Suspected-Virus: VBS"
:0
${VIRUSDUMP}
}
}
>Can sendmail be setup to catch vbs attachments inside an e-mail?
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.