is per user whitelist/blacklist config and a default whitelist/blacklist possible?

Julian Field mailscanner at
Thu Jun 26 17:48:18 IST 2003

If, just after the "return 1" lines in "LookupByDomainList" in, you add
   return 1 if $BlackWhite->{'default'}{$from};
   return 1 if $BlackWhite->{'default'}{$fromdomain};
   return 1 if $BlackWhite->{'default'}{$ip};
then it will look up things in the "default" black and white lists after it
checks the user and domain-specific ones.

If you like, I'll add this to the standard distribution for you, it seems
like a handy idea.

At 17:08 26/06/2003, you wrote:
>I've tested the per user configs (see previous message below) and it
>seems to work okay. If anyone has any thoughts on this, I'd appreciate it.
>Next question: Is it possible to have a combination of per user AND a
>default system wide config for blacklist/whitelist rules, so that
>user at domain can whitelist and blacklist individual addresses or domains,
>but a default ruleset containing common whitelisted addresses is
>maintained for the server to allow standard stuff to come through
>untouched unless the use specifically blacklists it.
>Ken A.
>> From
>># To enable these functions ....
>>#   Is Definitely Not Spam = &ByDomainSpamWhitelist
>>#   Is Definitely Spam     = &ByDomainSpamBlacklist
>>This gives you simple white blacklist functions for TO: *
>>Is there any reason why it wouldn't be a good idea to extend this idea
>>to something like this:
>>Is Definitely Not Spam = &ByEMailAddressSpamWhitelist
>>That way, you would have full whitelist/blacklist capability on all
>>incoming email addresses, since each file would hold the list for a
>>single TO: address.
>>Ken A.

Julian Field
Professional Support Services at
MailScanner thanks transtec Computers for their support

More information about the MailScanner mailing list