Skip to Content.
Sympa Menu

en - Re: [en@sympa] automating list creation & adding subscribers

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün <address@concealed>
  • To: address@concealed
  • Subject: Re: [en@sympa] automating list creation & adding subscribers
  • Date: Wed, 18 Feb 2026 11:49:56 +0100

Hi Shweta,

To prevent LDAP connexion details from being included in list configs, you could have a level of indirection using data sources, as documented in <https://www.sympa.community/manual/customize/data-sources.html#defining-the-data-sources>.

You'll have a single definition of the database connexion and then refer to it using member_include (with parameters) in list config files.

Regards

Le 18/02/2026 à 11:35, Shweta Patil (Staff) a écrit :

Hi All,

 

Further to this, I have  progressed as far as having the list populated using ‘families’ feature of Sympa.

 

I intend to generate these lists in batches rather than bulk run at once to have better control and visibility as well as to avoid mess or load on the server

 

As a proactive measure, I am also looking at increasing the disk space for /var to have enough room to accommodate list data for 2000 lists.

 

When tested list creation using families, I can see the list is populated fine and the members are picked up from AD group as expected too.

 

But having the LDAP query details defined under “include_ldap_2level_query”, each list generated gets hard coded details of the host name, user & password used thus.

 

Is there any way we can avoid these details being hard coded int each list config or this is expected and Sympa can confirm this is safe to have such config?

 

Another query is, if I want to use customised template for these lists from the family, e.g. “for-ad-list” under “create_list_templates” how can they be referenced in the family?

 

Thank you

 

 

Regards,

Shweta

 

From: Shweta Patil (Staff)
Sent: 07 October 2025 09:49
To: address@concealed
Subject: automating list creation & adding subscribers

 

Hi All,

 

I am looking at automating the creation of Sympa mailing lists as well as adding the subscribers to the lists automatically from the AD group

 

Has anyone implemented this before? If so, any pointers would be appreciated as I have been tasked to create around 2000 mailing lists ASAP

 

We are using Exim as the MTA and have  mail relay host with rules defined for Exim configuration

 

Thank you

 

 

Kind Regards

 

Shweta Patil


Service Engineer Cloud(Linux) | Infrastructure & Operations | Digital Services
Brunel University of London

E: address@concealed

 

University of London, Uxbridge, UB8 3PH, United Kingdom

brunel.ac.uk | T +44(0)1895 274000 

    

 

 

Regards,

Shweta

 

-- 
Olivier Salaün
DSI / pôle SI / équipe SNUM
Tel : 02 23 23 74 54

PNG image

PNG image

PNG image

PNG image

PNG image




Archive powered by MHonArc 2.6.19+.

Top of Page