2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] how to filter attach ...
FromSent OnAttachments
test17Feb 18, 2004 11:14 pm 
Gregor LawatscheckFeb 19, 2004 10:46 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] how to filter attach file with .exeActions...
From:Gregor Lawatscheck (gp@mpex.net)
Date:Feb 19, 2004 10:46:38 am
List:net.sourceforge.lists.courier-maildrop

test17 wrote:

courier-maildrop,您好!

This might help - an example of filtering multiple extensions we're using successfully.

if (/^Content-Type: multipart/:h) { BLOCKEDTYPES="(pif|scr|shs|vbs|vbe|com|bat|hta|wsf|wsh|shb|cmd)" if (/^Content-Type:[:space:].+;[:space:]name=.+\.$BLOCKEDTYPES(\")?$/:b || /^(\t|[:space:])name=.+\.$BLOCKEDTYPES(\")?$/:b) { echo "BAD TYPE" } }