filename/type exceptions
Julian Field
mailscanner at ecs.soton.ac.uk
Fri Aug 4 21:41:38 IST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kevin Miller wrote:
> It's the end of the week, I'd rather be out fishing, and most of my
> latte is still in the cup so induldge me please if I'm being braindead.
> A person is trying to send some of my users an .mp3 file but it is
> blocked. ( I pretty much just go w/the MS defaults for file name/type
> blocking.) I figured no problem, a ruleset is the way to go. Thing is,
> the sample rulesets and those I've created in the past have an action of
> "yes" or "no".
>
> The MailScanner.conf says the filename and filetype can be the name of a
> ruleset, but right now for instance,
> Filename Rules = %etc-dir%/filename.rules.conf
>
> So if I was to make a new ruleset in the rules dir, (ending in .rules of
> course) what would it look like. I want to maintain the existing
> filename/type exclusions as a default, but allow this one fellow to send
> the .mp3 file.
>
> Would I have to copy the filename.rules.conf file to something like
> filename.exceptions.conf, rem out the line for mpegs, the create a
> filename.rules file that has:
>
> From: Joe.Blow at kokomo.com filename.exceptions.conf
> FromOrTo: default filename.rules.conf
>
> Then do the same for filetype?
>
> Seems like overkill to have to make a custom filename/type file for each
> exception but maybe that's how it's done?
The easy solution is to see the "Allow Filetypes" setting in
MailScanner.conf. This saves you having to mess around with multiple
filetype.rules.conf files. Similar for filenames as well.
- --
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at MailScanner.biz
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Get your PCs and servers from Transtec.de, very well built and reliable!
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.7.0
Charset: ISO-8859-1
wj8DBQFE07EEEfZZRxQVtlQRAnvsAJ9UsHeSGMAbbhbXO7cp2T++aHGqhQCgo4q/
pWGePXZNHxhbEtIqTzoF6K4=
=/ac5
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
More information about the MailScanner
mailing list