Skip to Content.
Sympa Menu

en - RE: [sympa-users] Import subscribers with settings ?

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Steve Shipway <address@concealed>
  • To: John R Levine <address@concealed>
  • Cc: "address@concealed" <address@concealed>
  • Subject: RE: [sympa-users] Import subscribers with settings ?
  • Date: Tue, 22 Sep 2015 21:50:35 +0000

>> We did this by coding something up in Perl that simply inserted the
>> appropriate records straight into the subscribers table of the database.
>
>Sounds like just what I want. I realize it'll be different for 6.2 but
>could I have a copy to see generally what you did?

I coded this script as a one-off for migrating from a custom database, and I
don't think I still have it about. However, if you view the Sympa database
structure, you'll find it is pretty self-explanatory, and you simply need to
insert a new record into the subscribers table for each new subscriber. Note
that, if you want to do it differently, you could also use the SOAP API to
insert new members into an existing list.

>> Example stuff: http://www.steveshipway.org/software/f_sympa.html
>I'll take a crack at making it work with 6.2.6. Any suggestions about
>what's likely to break?

I've only just started to investigate migrating to 6.2.x, and there are a
number of differences.
The actual white/modlist part should work the same, as this just relies on
the send.include.header scenario and text search_filters. The problem will
be in the list custom actions for managing the white/modlists via the web
interface, as custom actions have changed considerably. The 6.1 plugin used
TT2 plugins to achieve the function, and jumped through a few hoops to pass
the parameters. This can now be done in proper plugin modules and parameters
passed neatly, so it needs to be completely rewritten for the new version -
plus the web template needs to be changed to fit in with the new user
interface style.

I do have plans to work on migrating this plugin, and our tracking plugin
(which tracks clickthough URLs and embedded images in messages,and makes
reports, unlike the 6.2 DSN-tracking system) but things might take some time
before I can get around to it.

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
address@concealed
Ph: +64 9 373 7599 ext 86487





Archive powered by MHonArc 2.6.19+.

Top of Page