On 4/27/20 11:57 AM, Mohsen Masoudfar wrote:
Hi Brian, It would be great if you share the information about "How to migrate mailman 2 lists to a new mailman 3 server". It is what I am currently having issues with, maybe I am missing some parts .
Thanks Mohsen
My process may differ from yours depending on what server setup you have for Mailman 3. For instance the following tasks will need some additional steps if you are using a Docker installation of Mailman 3.
Steps to Import a Mailman 2.1 List into Mailman 3
Reference URL: https://docs.mailman3.org/en/latest/migration.html
SFTP from Mailman 3 server into Mailman 2 server to pick up config.pck and listname.mbox files. The rest of the steps will be performed on the Mailman 3 server.
Switch to user mailman and go into the /opt/mailman/mm/ directory.
Enter the virtual environment: source /opt/mailman/mm/venv/bin/activate
Make sure the config.pck and listname.mbox file is located in the /opt/mailman/mm/ directory before performing next step.
mailman import21 mailman3-list@example.com config.pck (This is to migrate the list members and settings)
/opt/mailman/mm/bin/django-admin hyperkitty_import -l mailman3-list@example.com listname.mbox (This is to migrate the list archives)
/opt/mailman/mm/bin/django-admin update_index_one_list mailman3-list@example.com
-- Please let me know if you need further assistance.
Thank you for your business. We appreciate our clients. Brian Carpenter EMWD.com
-- EMWD's Knowledgebase: https://clientarea.emwd.com/index.php/knowledgebase
EMWD's Community Forums http://discourse.emwd.com/