block attachment per user

Julian Field MailScanner at ecs.soton.ac.uk
Tue Sep 4 09:55:17 IST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Hugo van der Kooij wrote:
> On Mon, 3 Sep 2007, Julian Field wrote:
>
>> In MailScanner.conf, put
>> Filename Rules = %rules-dir%/filename.rules
>>
>> And then in filename.rules file put
>> To: onedomain.com
>> FromOrTo: default /etc/MailScanner/filename.rules.conf
>>
>> And do likewise for Filetype Rules as well.
>> Should do the trick. No rules ==> Allow anything.
>
> So one can create recursive rule sets. To what level will this work?
This isn't a recursive ruleset, and you can't create them. It's just an 
example of using a ruleset with the "Filename Rules" configuration 
setting, which is *not* a ruleset.
>
> Just curious I guess because something like this can get out of hand 
> very easily. I think I would stop at the indicated two steps here.
>
> And can one use the variables again? So instad of the absolute path 
> /etc/MailScanner/filename.rules.conf use something like 
> %rules-dir%/filename.default.rules
Should be able to, yes.
>
> Hugo.
>

Jules

- -- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.3 (Build 3017)
Comment: (pgp-secured)
Charset: ISO-8859-1

wj8DBQFG3R13EfZZRxQVtlQRAiIWAKDMSFkO0rnvGz8D2xARX6/f95tcGgCdE6i8
cQ74RQ9OUORIAcLCipKj4do=
=ce5o
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list