[ale] Catch VBS files on Sendmail

Gary Maltzen maltzen at MM.COM
Mon Oct 2 21:10:44 EDT 2000


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.





More information about the Ale mailing list