[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amavis-user
Subject:    Re: [AMaViS-user] No Spamscore in Header (@local_domains_maps are
From:       Gary V <lists () johnmecham ! com>
Date:       2007-05-31 22:26:34
Message-ID: 1424716536.20070531162634 () johnmecham ! com
[Download RAW message or body]

peter wrote:

> I found the error, if I use SQL Lookups for user defined policies and
> WB List the spamscore is not inthe mail header. After i removed the
> sql lookups i got the spamscore int the header.
> Now i have to search reason/setting wich cause this.

Is the recipient in question in the users table? Is it possibly
picking up a recipient domain or catchall with a users.local field set
to "N"? Send a message through at $log_level 5 to get additional
details.

>From README.lookups:

Special handling of optional SQL field 'users.local'

A special shorthand is provided when SQL lookups are used: when a match
for recipient address (or domain) is found in SQL tables (regardless of
field values), the recipient is considered local, regardless of static
@local_domains_acl or %local_domains lookup tables. This simplifies
life when a large number of dynamically changing domains is hosted.
To overrule this behaviour, add an explicit boolean field 'local'
to table 'users' (missing field defaults to true, meaning record match
implies the recipient is local; a NULL field 'local' is not special,
it is interpreted as undef like other NULL fields, causing search
to continue into other lookup tables).

Gary V



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic