Subject: The mailing list for listmasters using Sympa
List archive
- From: aumont <address@concealed>
- To: Michael Biebl <address@concealed>
- Cc: Sympa Users <address@concealed>
- Subject: Re: [sympa-users] Ldap+authentication
- Date: Fri, 10 May 2002 08:33:18 +0200
Michael Biebl wrote:
>
> Hi everybody,
>
> i've got a few questions concerning sympa and ldap.
> I'm using Debian/Linux and a ldap directory for user authentication.
> I've got one direcotry namend "People" where all the user information is
> stored, then subdirectories, where I group the users logically, let's
> say groupA(students), groupB(employees), groupC(admins) etc. The entries
> in these groups are only references to entries in "People"
>
> What I want is this:
> 1) I've got several mailinglists, for example list1, list2 ...
> If I send a mail to list1 sympa should look up for all entries in the
> directory groupB, and send the mail accordingly to this entries.
> If I send a mail to list2 sympa should send it to all entries in the
> directory groupC and so on.
> Is this possible?
Yes it is. It is described in the data_source section of sympa reference
manuel :
http://listes.cru.fr/sympa/doc/sympa/node14.html#SECTION001420000000000000000
Check section 13.2.5 include_ldap_query and 13.2.6
include_ldap_2level_query.
From my understanding of your LDAP directory structure, you need
include_ldap_2level_query. Depending on the size of each list and the
number of list that must be created using LDAP queries, the overload for
Sympa may be extremly important. First use a large TTL parameter for all
your list. If this is not a good enought solution, you can send by
crontab
a mail to sympa with command help. This will make sympa to refresh it
cache so the interactive process wwsympa will never need to compute all
the
needed LDAP search because it share a .db file with sympa deamon.
In a very near futur, sympa will store its cache in the database and
will
provide the same performences for all list using or not complex include
data
sources.
Serge Aumont
-
Ldap+authentication,
Michael Biebl, 05/08/2002
- Re: [sympa-users] Ldap+authentication, aumont, 05/10/2002
Archive powered by MHonArc 2.6.19+.