Can't block wmv files

Michael Mansour micoots at yahoo.com
Wed Nov 28 14:59:07 GMT 2007


Hi Julian,

Julian Field <MailScanner at ecs.soton.ac.uk> wrote: -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



shuttlebox wrote:
> On Nov 27, 2007 3:08 PM, Michael Mansour  wrote:
>   
>> %etc-dir%/example.com.filename.rules:
>>
>> and %etc-dir%/example.com.filetype.rules:
>>     
>
> Those filenames don't match what you have in your rulesets, note the
> missing .conf at the end:
>
>   
>> FromOrTo:       *@example.com
>> /etc/MailScanner/example.com.filename.rules.conf
>> FromOrTo:       default         /etc/MailScanner/filename.rules.conf
>>
>> FromOrTo:       *@example.com
>> /etc/MailScanner/example.com.filetype.rules.conf
>> FromOrTo:       default         /etc/MailScanner/filetype.rules.conf
>>     
>
> Also, you do have tabs as whitespace in both files and no strange
> end-of-lines, common if you edit the files in Windows?
>   
The only places you need tabs instead of spaces are in the 
example.com.filetype/name.rules.conf and filetype/name.rules.conf files.
You can use any whitespace in *.rules files.
I'm using:

mailscanner-4.65.3-1.noarch

I've spent the last 5 hours trouble-shooting this problem (in addition to the 2 hours I spent last night) and I believe MS is broken with this filename/filetype blocking now.

What I did was globally set the /etc/MailScanner/filename.rules.conf and /etc/MailScanner/filetype.conf to deny (I also did deny+delete) all movie files and tested for the swf extension too.

Movie files were still let through even when this was a global setting.

I then tried simply attaching something I knew 100% would fail, a web link (.lnk file), and it passed through fine.

What sort of thing / setting in MS would allow this to happen? ie. allowing anything through?

Thanks.

Michael.


       
---------------------------------
Make the switch to the world's best email. Get the new Yahoo!7 Mail now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20071129/11367f31/attachment.html


More information about the MailScanner mailing list