Skip to Content.
Sympa Menu

en - Re: [sympa-users] mailman2sympa import on Ubuntu/Debian

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David <address@concealed>
  • To: Steve Shipway <address@concealed>, Steve Shipway <address@concealed>, address@concealed
  • Subject: Re: [sympa-users] mailman2sympa import on Ubuntu/Debian
  • Date: Wed, 14 Sep 2016 11:00:07 +0200

Dear all,

I used the script several times last year and it works quite well.

As far as I remember, I didn't have to change anything to the script, though it needs tl be configured.

I have a script somewhere that embedded mailman2sympa to run the migration daily and prevent side effects of multiple migrations. I'll try and find it to send it to the list.

Cheers,

David


Le 12 septembre 2016 23:45:07 CEST, Steve Shipway <address@concealed> a écrit :

If I remember correctly, the mailman2sympa needed a bit of tweaking to work, and that was back with Sympa 6.1.22.  It doesn't do everything, and doesn't necessarily migrate things like permissions in the way you want.

After running, you need to call sympa.pl to regenerate the list config bin files, and the entire list table (which is why you dont see the lists in your web interface, you have not done this last step).

I also remember a caveat - the script does an export of the mailman data to an intermediate file, which is then loaded into the Sympa config.  This intermediate file is *not* regenerated if you run the export multiple times, which means that if you run a test migration, and then later run the 'real' one, you could end up using the cached export rather than re-exporting it and get an out-of-date membership list migrated.

The way the script migrates things like mailman posting whitelists and so on is a potential problem.  We had a whitelist plugin for sympa to make this easier, but it can migrate as invisible nomail members or as moderators in order to grant posting rights which might not be what you want; also if you have wildcards in your mailman posting whitelists they don't migrate correctly.

Hope this helps,

Steve


On 13/09/16 01:22, address@concealed wrote:
address@concealed">
I'm evaluating Sympa for replacing an old Mailman server. I've got Sympa
installed  on an Ubuntu server and nicely working with ldap auth.

I’m now attempting to use the mailman2sympa script.

The script successfully finds the mailman archive, and creates files which
correspond to lists in /var/lib/sympa/expl

However, no lists show up in the web interface when I'm logged in as
listmaster.  On further investigation it looks like no entries have been
created in the list_table on the MySQL database. Is this normal? I can
manually create a list and that does show up in both database and web
interface.

Is there a further step to import lists into the database so they can be seen
and administered? Have I misunderstood something?

Thanks,
Ian


--

Steve Shipway | Senior Email Systems Administrator
Phone: +64 9 302 0515 Fax: +64 9 302 0518
Freephone: 0800 SMX SMX (769 769)
SMX Limited: Level 15, 19 Victoria Street West, Auckland, New Zealand
Web: http://smxemail.com


--
Omnia vanitas



Archive powered by MHonArc 2.6.19+.

Top of Page