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 Levine <address@concealed>, "address@concealed" <address@concealed>
  • Subject: RE: [sympa-users] Import subscribers with settings ?
  • Date: Tue, 22 Sep 2015 07:59:33 +0000

>It would be really nice if I could import the users along with some of
>their settings such as digest and nomail. I can export stuff from mj2 and
>reformat it however I need. How do you add subscribers with settings?

We did this by coding something up in Perl that simply inserted the
appropriate records straight into the subscribers table of the database.

>Bonus question: is there a reasonable way to make a list mostly
>unmoderated? On some lists a few subscribers have messages manually
>reviewed, while the rest can post directly

We've done this by creating an add-on that gives you a Whitelist and a
Modlist as well as a Blacklist. This works for Sympa 6.1.23+ (haven't
migrated it to Sympa 6.2 yet). This lets you set a list to subscribers-only,
and then add individuals to the Modlist.

The way it is done is simple; you create a modlist.txt in the search_filters,
then use scenari/send.include.header to prepend a test that checks for
members of the modlist, and gives a moderate response if so.

Example stuff: http://www.steveshipway.org/software/f_sympa.html

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