Peter, > 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.
Do you have a field named 'local' in SQL tables (in users or in a policy table)? If you do and the value is not NULL, it takes precedence over static lookups in @local_domains_maps. If the field is not present, then the following default applies (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_comains_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). Since amavisd-new-20030616-p7: changed the default value for local_domains_sql lookup for the catchall key '@.' under conditions: when user record with key '@.' is present in the database and a field 'local' is not present. Previously it surprisingly defaulted to true, now it falls back to static lookup table defaults, the same as if the record '@.' were not present in the table or as if the field value 'local' was NULL. Mark ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
