On Thu, Aug 07, 2008 at 05:09:50PM +0200, Mark Martinec wrote: > Christian, > > > No answer here means: Find your answer yourself or means nobody knows? :-) > > If it is documented anywhere, please can somebody provide a link for me? > > > because this mailing-list is available through google-search, I post the > > following: > > > > Use the Auxiliary amavis schema! You will find the amavisLocal-Bool. > > > > Everything is working now. Sorry for asking silly things here. > > Thanks for finding the answer on your own and sorry for not answering. > Not many people are using LDAP lookups, so the expertise is lacking...
Not sure from your messages what you were trying to achieve but by default in the user exists in LDAP they are automagically considered 'local'. The 'amavisLocal' attribute exists to overrule this behaviour. Excerpt from 'README.ldap': ... Special handling of optional LDAP attribute 'amavisLocal' --------------------------------------------------------- A special shorthand is provided when LDAP lookups are used: when a match for recipient address (or domain) is found in LDAP tables (regardless of attribute 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 attribute 'amavisLocal' (missing field defaults to true, meaning record match implies locality) The default value for local_domains_ldap lookup for the catchall key '@.' is undef under conditions: when user record with key '@.' is present in the database and the attribute 'amavisLocal' 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. ... -- The most difficult years of marriage are those following the wedding. Mike Hall San Juan Island, WA System Admin - Rock Island Technology Solutions <[EMAIL PROTECTED]> System Admin - riverside.org, ssdd.org <[EMAIL PROTECTED]> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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/