rules help

Ugo Bellavance ugob at CAMO-ROUTE.COM
Thu May 19 19:52:48 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Julian Field wrote:
> The "Filename Rules" and "Filetype Rules" are "all matches" settings.
> So in this example:
>
> To: user at domain.com filename.allowexe.conf
> To *@domain.com filename.normal.conf
> FromOrTo: default filename.rules.conf
>
> If a message arrives addressed to user at domain.com, the rules applied are
> all those in filename.allowexe.conf followed by filename.normal.conf.
>
> If a message arrives addressed to any-other-user at domain.com, the rules
> applied are all those in filename.normal.conf.
>
> Mail from or to anywhere else has the filename.rules.conf applied.
>
> So you can have filename.allowexe.conf contain a single line
> allow   \.exe$   -   -
> and use the normal rules for filename.normal.conf.
>
> The rulesets are strung together in the order they are specified in the
> ruleset (as in the example above).
> The "default" rules are only applied when no other rule in the ruleset
> matches the email message.
>
> I hope that clears it up a bit.
> If you agree that the above does indeed do what you want, please can you
> add this to the wiki (wiki.mailscanner.info) so other people can easily
> find it.
>
> Oh, and exactly the same above applies to the "Filetype Rules" as well.

Pretty nice, but this assumes that the default also fits his needs (in
this case, I think it is ok).

------------------------ 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 Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list