Suggested addition to default filename and filetype rules
Remco Barendse
mailscanner at BARENDSE.TO
Thu Sep 9 08:18:04 IST 2004
<x-flowed>
Thanks for the heads up! I completely forgot to block those too.
Shouldn't there be a $ at the end of the \.wm[adsvz]$ stuff however?
Cheers!
Remco
On Thu, 9 Sep 2004, James Gray wrote:
> Maybe it's just our site, but was there a reason Windows Media files were left
> out when Quicktime/MPEG/etc were included for denial?
>
> For the archives, here's what we have in our (modified) rules:
>
> <<< filename.rules.conf >>>
> # Deny Windows Media etc
> deny \.wm[adsvz] Windows Media Format We don't allow Windows Media Files
> deny \.w[av]x Windows Media Format No Windows media metafile links
> deny \.as[fx] Windows Media Format We don't allow Windows Media Files
>
> <<< filetype.rules.conf >>>
> deny ASF No Windows Media No Windows Media files allowed
>
> As always, fields are separated by *TABS*.
>
> After files have been modified, restart MailScanner. Voila - bye-bye Windows
> media :) BTW, I realise I could probably write a nice funky regex to combine
> all the various incantations of wma/wmd/.../wvx but I figured three rules
> wouldn't drastically hit the performance.
>
> Cheers,
>
> James
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>
More information about the MailScanner
mailing list