Skip to Content.
Sympa Menu

en - Re: [sympa-users] Users from a DB

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün - CRU <address@concealed>
  • To: Daniel Cortes <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Users from a DB
  • Date: Mon, 11 Apr 2005 09:38:34 +0200

Hi Daniel,

Daniel Cortes wrote:
First, I have a portal with a lot of groups of users, the information of users reside in a DB. I want to do every group has an email list. My idea was create an XML, and create a call in java that in every create group action in the portal, generates an XML with information for create the list of this group. My question is, can I create an XML and call  ./sympa.pl --create_list ... , if sympa.pl is not stopped?What can I do?
You can perform this with all Sympa processes running. Sympa processes adapt very well to data changes.
The --create_list is one option, another being the --instantiate_family option.
Famillies allow you to create a set of lists that have common caracteristics, with a dynamical relationship with the family templates (all its lifelong, a list is related to its family). It is well adapted is your set of DB groups is evolving in time ; Sympa would automatically create or remove groups at instanciation time, based on the XML input.
Someone can tell me the differences between user_data_source? now I trying with include 1 but I don't know if this is my option if I have all the information of my users with DB (myql).
And can I select de owners and moderators by DB?
With 5.0 versions, the default value for 'user_data_source' is 'include2' and it will become the ONLY one supported soon. The 'include2' mode provides advantages of both 'database' and 'include'.

Go for 'include2'.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19+.

Top of Page