[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] spamassassin check_for_mime - how to add vbs
- Subject: Re: [vps-mail] spamassassin check_for_mime - how to add vbs
- From: Matt Cohen <lists@xxxxxxxxxx>
- Date: Mon, 10 May 2004 00:33:14 -0700
Have you thought about using procmail instead?
For example, this line blocks all the filetypes listed from being delivered;
# Delete emails with attachments or certain content types
:0B
*^Content-Type: (application|audio)
*^.*name=.*\.(vb[esx]|jse?|ws[hf]|bat|cmd|shb|lnk|pif|scr|shs)
{
LOG="Attachment "
:0 h
/dev/null
}
Matt
At 8:39 AM +0200 5/10/04, Sikaspam said something about:
Hello again all,
A client is complaining that he receives .vbs attachments (on his
Mac!) SA will handle the case of odious files like .scr using
MICROSOFT_EXECUTABLE eval:check_for_mime('microsoft_executable')
My question is, can we change/add to things in this kind of
construct another example of which is
MIME_SUSPECT_NAME eval:check_for_mime('mime_suspect_name')
Where are the defs located?
tia,
r
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
--
:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+
Matthew I. Cohen http://www.iwbyte.com/
It Won't Byte Web Design & Hosting. Ob. Quote: "Reality is for those
email: lists@xxxxxxxxxx people who can't handle Fantasy"
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index