Feature request: Overloading Whitelists/Blacklists

Dhawal Doshy dhawal at NETMAGICSOLUTIONS.COM
Thu Sep 8 16:19:31 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. ]

Joost Waversveld wrote:
> We want to use MailScanner for a lot of domains. I was checking if we could
> define the whitelist per domain in a seperate file. Unfortunately I do not get
> it working. I tried the solution you can find on the wiki about "overloading
> filename.rules.conf"
> (http://wiki.mailscanner.info/doku.php?id=documentation:configuration:rulesets:overloading&s=overloading)
> but then I get an syntax error. Apparently this does not work for defining
> whitelists/blacklists.

This is already an existing feature in CustomConfig.pm (you'll find this 
in /usr/lib/MailScanner/MailScanner for the RPM version), though you'll 
  need to enable it MailScanner.conf

Have a look at these in MailScanner.conf (my values)
Is Definitely Not Spam = &ByDomainSpamWhitelist
Is Definitely Spam = &ByDomainSpamBlacklist
Definite Spam Is High Scoring = yes

You can not only have domain based, but also per email-id based black / 
whitelists using this (simple to use) Custom Function. Also you can; not 
only black / whitelist domains but also "Full email ids" and "IP Addresses"

> We want to do this so it's much easier to administrate all the settings for our
> users.

If you need something easier, use mailwatch 1.0.2 and the SQL based 
black / whitelists with a nice php based front-end.

hope that helps,
- dhawal

------------------------ 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