https://bugs.koozali.org/show_bug.cgi?id=12125

            Bug ID: 12125
           Summary: NFR: add the migrate procedure for mailman
    Classification: Contribs
           Product: SME Contribs
           Version: 10.0
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-ezmlm
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

Created attachment 6727
  --> https://bugs.koozali.org/attachment.cgi?id=6727&action=edit
ezmlm2mbox

see https://wiki.koozali.org/Mailman#Import_lists_from_ezmlm

Get the script ezmlm2mbox from http://www.arctic.org/~dean/scripts/ezmlm2mbox

 wget http://www.arctic.org/~dean/scripts/ezmlm2mbox -O 

Get subscribers:

 ezmlm-list /home/e-smith/files/ezmlm/lists/mylist > mylist.subscribers

Get denied subscribers:

 ezmlm-list /home/e-smith/files/ezmlm/lists/mylist deny > mylist.deny

Convert the ezmlm list to an mbox-file:

 ./ezmlm2mbox /home/e-smith/files/ezmlm/lists/mylist > mylist.mbox

Backup the ezmlm list, just in case ...

 tar -czf mylist.tgz /home/e-smith/files/ezmlm/lists/mylist

Then using the server-manager:

    Remove the ezmlm list, via the ezmlm web panel
    Create the new Mailman list, via the Mailman web panel
    Add subscribers to the new list, using the file you made in step 1. I
prefer to do this in silence, without letting the subscribers know.
    Check the file mylist.deny from step 2, and - if needed - adjust the
settings of your new list accordingly.


Import the mbox to Mailman

 cp mylist.mbox  /var/lib/mailman/archives/private/mylist.mbox/mylist.mbox
/opt/mailman/bin/arch --wipe mylist


at least having the ezmlm2mbox tool as bin alredy in contrib would help

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to