On Mon, Aug 15, 2022 at 9:08 PM Odhiambo Washington <odhiambo@gmail.com> wrote:
With mailman installed using virtualenv /opt/mailman/mm/venv:
I am trying to import list archives after importing the configs.
python manage.py hyperkitty_import -l listname@site.name /var/list/archives/private/listname.mbox/listname.mbox python: can't open file '/opt/mailman/manage.py': [Errno 2] No such file or directory
Where is manage.py PATH?
After reading THIS <https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/U...>, I realized what the actual command should be:
/opt/mailman/mm/bin/django-admin hyperkitty_import -l foo-list@example.com $var_prefix/archives/private/foo-list.mbox/foo-list.mbox
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)