Setting up Black & Whitelists by domain

Paul Hamilton paul.hamilton at
Sun Jan 12 14:14:51 GMT 2003

Hi all,

Is anyone willing to share their Black & Whitelist rulesets for 'By Domain'

We have set-up rulesets up in the MailScanner.conf for Black & Whitelisting
as follows:

Both have the default as:
FromTo:    default    no

Further to this we have created the following directory:
Within this we have further directories which represent the individual
we wish to allow control over their own Black & White lists.

e.g. - This directory then has its own blacklist &
whitelist.rules files.

The problem we have is that everytime we add to /opt/rules/blacklist.rules
the following:

FromTo: default    no
To: *    /opt/bydomain/

we get a syntax error in our logs as shown here:

"Syntax error in line 2 of ruleset file /opt/rules/spam.blacklist.rules for
keyword spamblacklist
Jan 12 14:02:21 cobaltxxxx MailScanner[3589]: Aborting due to syntax errors
in /opt/rules/spam.blacklist.rules.

The same happens when we try to set the Whitelist rules.

Could anyone guide us or point out the errors of our ways - can this be

Many thanks in advance.

Paul H.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list