On Thu, Jun 6, 2019, at 11:37 AM, brian@emwd.com wrote:
I want to test out importing a 2.1 archive into a Mailman 3.2 list. I am using maxking's docker images for MM3. How would I go about importing the mbox file? I don't think the following commands would work on a Docker installation of MM3:
$ python manage.py hyperkitty_import -l foo-list@example.com $var_prefix/archives/private/foo-list.mbox/foo-list.mbox $ python manage.py update_index_one_list foo-list@example.com
I am not sure how to go about doing this within Docker.
You can copy the mbox file inside the container and them import it from there.
See docs for "docker cp"[1] on how to copy something inside a container. After that, you can enter the container with usual "docker exec -it mailman-web bash" and use the commands mentioned above.
https://docs.docker.com/engine/reference/commandline/cp/
Thanks for any assistance, Brian
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)