Per-Domain Whitelist not honoring IP addresses

Steve Freegard smf at f2s.com
Wed Feb 8 17:56:41 GMT 2006


Hi Mike,

On Wed, 2006-02-08 at 11:38 -0600, TCIS List Acct wrote:
> I'm using the &ByDomainSpamWhitelist function in 4.47.4.  I have a 
> "global" whitelist file located at:
> 
> /etc/MailScanner/spam.bydomain/whitelist/default
> 
> The file contains domain names, one per line.  I recently tried to add 
> an IP address to it, e.g.
> 
> 1.2.3.
> 
> which should match 1.2.3.4, 1.2.3.5, etc. per the documentation in 
> CustomConfig.pm.
> 
> However, mail from those hosts are still being marked as spam / not 
> being whitelisted.  Domain names contained in that file are working 
> fine.  Did I miss something?

Yes - wildcards are not supported at all.  The functionality is exact
match only.

Regards,
Steve.



More information about the MailScanner mailing list