Filename Rules

Julian Field mailscanner at
Wed Aug 25 18:21:34 IST 2004

At 18:14 25/08/2004, you wrote:
>I have a customer who does not want the filename rules applied to his
>email. Can someone point me in the right direction to create a ruleset to
>not apply these rules to him?

Create different filename.rules.conf files for the different customers,
then just use a ruleset to point at the relevant file. Sounds like your
customer wants a filename.rules.conf file that says
allow   .       -       -
(separated with tabs). Put this in, for example,
filename.rules.conf.allow.all. Then have a ruleset which says
FromOrTo: customer at  /etc/MailScanner/filename.rules.conf.allow.all
FromOrTo: default       /etc/MailScanner/filename.rules.conf

Then just restart or reload MailScanner and away you go.
Julian Field
Professional Support Services at
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ ( and
the archives (

More information about the MailScanner mailing list