[afnog] procmail+sanitizer

Randy Bush randy at psg.com
Wed Apr 20 19:30:58 EAT 2005


MIMEINFO=`reformime -i`
SPAM=/dev/null

:0
* MIMEINFO ?? ^content-name:.+[~.](bat|cmd|cpl|com|exe|scr|pif|vbs|zip)$
$SPAM

# from Sematimba Noah K <ksemat at wawa.eahd.or.ug>
:
*^Content-Type: (multipart/mixed|multipart/alternative|application/octet-stream)
{
  :0 HB
  *^Content-Disposition: attachment;.*filename=.*\.(bat|chm|com|exe|hlp|hta|lnk|pif|shs|vbe|vbs|wsf|wsh)
  $SPAM
  }

etc.

randy




More information about the afnog mailing list