Skip to Content.
Sympa Menu

en - Re: [sympa-users] LDAP Querying

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: christopher pax <address@concealed>
  • To: Wendell Epps <address@concealed>
  • Cc: "address@concealed" <address@concealed>
  • Subject: Re: [sympa-users] LDAP Querying
  • Date: Wed, 16 Sep 2009 16:55:33 -0400

I am in the same boat as you are on this topic. My solution is to use ldap. In our ldap, for each user, there is an attribute that holds all there aliases (mailalternateaddresses).

for subscribers:
in the include_ldap_query paragraph, I use mailalternateaddress in the 'extracted attribute'.

for owners and editors:
this is more tricky. you need a include file with a ldap paragraph in it.
navigate to
/home/sympa/expl/ROBOT/LISTNAME/data_sources
OR
/home/sympa/data_sources/

create a file called, myincludefile.incl

and wrtie a sympa ldap paragraph that includes the owners and extracts their alternateaddress, here is an example:
include_ldap_query
        attrs mailalternateaddress
        ssl_ciphers ALL
        filter (usetype=faculty)
        name anyname
        host ldap.njit.edu
        user SOMEDN
        passwd SOMEPW
        suffix ou=base,o=org,c=us
then edit the lists configuration file and add:
owner_include
profile normal
reception mail
source myincludefile
visibility noconceal

* same thing for editor_include


sync the list with its data sources, and now you have everyones aliases added to the list.

reffer to
https://www.sympa.org/manual/list-parameters
https://www.sympa.org/manual/parameters-definition#owner_include
https://www.sympa.org/manual/list-definition#data_inclusion_file




On Wed, Sep 16, 2009 at 11:11 AM, Wendell Epps <address@concealed> wrote:

Hello,

 

Our institution allows for users to have multiple aliases for their email accounts. That is a problem when working with Sympa because there are several instances where a user logs in and cannot see a particular list because they were subscribed with an address other than the default one Sympa pulls from the system.

 

Is there a way to get Sympa to gather all of the aliases for a user so that it can pull all of the lists in which that subscriber is an owner/subscriber/moderator is subscribed, no matter the valid alias that that user is subscribed with? This would greatly cut down our support issues regarding that problem.

 

Thank you.

 

 

----------------------------------------

Wendell Epps

Enterprise Messaging & Collaboration

IT@JH - Mt. Washington

e: address@concealed

p: 410.735.7353

----------------------------------------

P Please consider the environment before printing this e-mail.

 




--
Christopher Pax
New Jersey Institute of Technology
University Information Systems
address@concealed




Archive powered by MHonArc 2.6.19+.

Top of Page