Skip to Content.
Sympa Menu

en - Re: [sympa-users] Importing users with per-list options

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün - CRU <address@concealed>
  • To: Dale Ghent <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Importing users with per-list options
  • Date: Tue, 01 Aug 2006 14:35:43 +0200

A solution would be to create subscribers files in the old Sympa flat file format that looks like this :
date 1130188145
update_date 1130188145
email user1@dom
reception digest
visibility noconceal

date 1130488145
update_date 1130188345
email user2@dom
reception mail
visibility noconceal
Then set the user_data_source list parameter to 'file' and eventually change this parameter to include2 via the web interface (Sympa will move the entries to its DB).

Dale Ghent wrote: After a long break to work on other projects, I'm back to finishing  up my ListProc to Sympa conversion script.

One of the things I'd like to do is preserve certain attributes  regarding a user's list subscription such as whether they have  digests mode on, are not receiving emails and whatnot. Rather than  doing straight inserts into the MySQL database, I'd like to use the -- import option in sympa.pl, but after looking at the docs, there  doesn't appear to be a way to specify more than the email and gecos.  Is there a hidden feature I could take advantage of to do this?

Ultimately, I'd like to parse the subscribers file in ListProc,  convert the applicable values, and generate a file of attributes that  Sympa could parse to generate the user's subscription under Sympa. I  have steps 1 and 2 done. I just need to find out how I should handle  step 3.




  • Re: [sympa-users] Importing users with per-list options, Olivier Salaün - CRU, 08/01/2006

Archive powered by MHonArc 2.6.19+.

Top of Page