On 11/18/24 09:29, Alain D D Williams wrote:

I am running Debian 12 - Bookworm and have installed the Debian packages. The
database is Mysql. This is not a virtualenv setup. There is no documentation in
the hyperkitty package so I am following:

https://docs.mailman3.org/projects/hyperkitty/en/latest/install.html


The primary support resource for Debian packages is Debian. See https://wiki.list.org/x/12812344

I read the following:

"The database can be created with the following command:

django-admin migrate --pythonpath example_project --settings settings
"

I assume that that will create some database tables. Hopefully this will have
been done by installing package python3-mailman-hyperkitty.

• What database & tables will that be ? It would be really useful to be told so
that I can check.

The database is configured in the DATABASES setting in your Django settings. The HyperKitty tables all have names beginning with `hyperkitty_`.

• The config file is: /etc/mailman3/mailman-hyperkitty.cfg
   This does not contain any comment about databases. Where does hyperkitty get
   its database parameters from ?


Django, see above.


• I have several different maildomains each with several lists. Some lists in
different domains have the same name. Do I need a different
example_project/settings.py for each domain, if so what changes ?


I can't really speak to Debian, but you should be using the Django settings provided as part of Django's mailman-web package, not the ones in hyperkitty/example_project/settings.py as those don't include settings necessary for Postorius.

One of the next things that I will need to do is to import archives from
mailman2. How does the command below change for the different domains ?

django-admin hyperkitty_import --pythonpath example_project --settings settings 
-l ADDRESS mbox_file [mbox_file ...]

In the `-l ADDRESS` argument the ADDRESS is the fully qualified list address and includes the domain.

Is there some better documentation that I have failed to find ?

Ask Debian.

--
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/TF3AOBPJXQXGOW36MGOTSWULSYLDUMJS/

This message sent to arch...@mail-archive.com

Reply via email to