[prev in list] [next in list] [prev in thread] [next in thread]
List: amavis-user
Subject: ldap attribute "amavisLocal"
From: Tobias Hachmer <lists () kokelnet ! de>
Date: 2012-10-11 20:17:49
Message-ID: a6e7e6fd8f8cf7bc25c9734ed618fdee () hachmer ! de
[Download RAW message or body]
Hello list,
I have a question about the ldap attribute "amavisLocal". Yeah, I have
read README.ldap:
############################################################################
Special handling of optional LDAP attribute 'amavisLocal'
---------------------------------------------------------
A special shorthand is provided when LDAP lookups are used: when a
match
for a 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, have an explicit boolean attribute
'amavisLocal'
with a value of True returned for each local domain, and False for
other
domains which might be present in LDAP for some reason, but are
nonlocal.
In general LDAP lookups are similar to SQL lookups except for the low
level
LDAP/SQL specific code. The overall functionality, lookup rules, etc.
are
identical.
############################################################################
Am I understand this right when I say:
1. recipient address is considered local if it is found in ldap and the
user object doesn't have the attribute amavisLocal at all ?
2. recipient address is considered local if it is found in ldap and the
user object has the attribute amavisLocal, set to 'TRUE' ?
3. Assuming in ldap DIT are user objects with attribute amavisLocal,
set to FALSE, e.g. for "bad@example.com". Is the recipient address for
user object "foo@example.com", which either doens't have the attribute
amavisLocal at all or set to TRUE considered local, is this independent?
Thanks in advance,
Tobias Hachmer
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic