default to rulesets

Julian Field mailscanner at ecs.soton.ac.uk
Wed Dec 4 11:50:32 GMT 2002


At 11:43 04/12/2002, you wrote:
>Does mailscanner read a rulset file from top to bottom or will it stop at
>the first match?

It depends on the variable affected by the ruleset. Most are "use first
match" rulesets. A few that need to be are "concatenate all matches" (such
as where to archive mail, spam actions list, where to send postmaster
notices, things like that).

>  in which case does a default entry need to appear at the
>bottom of the file e.g.
>
>From:        test at abc.co.uk    yes
>From:       default                    no
>From:        *@xyz.co.uk        yes
>
>Will the xyz.co.uk apply?

The "default" value is always read by the ruleset compiler, so it doesn't
matter where it appears.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list