On Tue, 2024-03-26 at 08:06 +0100, Markus Grandpré wrote:
Dear Mr Sapiro,
thank you very much for your help. The required command is:
# mailman-web hyperkitty_import
-l mailman21-migration-test-04@mailman.uni-konstanz.de
/var/mailman21/testlist.mboxDue to the following warnings, I still have to customize Hyperkitty:
django_mailman3.MailDomain: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the DjangoMailman3Config.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. ...
Can you give me another hint? As Linux admin I installed the packages mailman and mailman-web that were offered to me under Debian 12. Although during the installation of the packages user "list" was created, I cannot use it:
# su - list This account is currently not available
As with Mailman 2.1, I will probably have to continue working with Mailman3 as root. Too bad that there is no documentation for Debian admins like me, who don't want to dive too deep into the python framework. Or have I overlooked something?
Best regards, Markus
Hi Markus,
we are also running MM3 on Debian 12 from Package Repositories.
First of all, you should not try to directly switch user (su) to the
lists user, it's generally intended to executes commands as that user,
if necessary; either using runuser
, sudo
, or su -c
.
However, the prepackaged scripts mailman-wrapper
and mailman-web
already do this and therefore you ca run those as root without
permission problems.
On Debian there are two relevant users for MM3: the list user runs mailman core, whereas the www-data user runs Postorius and Hyperkitty. So you have to make shure, that the www-data user can access the .mbox files while importing.
Hope that helps.
Cheers, Michael
-- Michael Oberrauch (er/ihm) Computerreferent
Fachschaft Mathematik/Physik/Informatik/Chemie Studentische Vertretung Technische Universität München Boltzmannstraße 3 85748 Garching
eMail: oberrauch@fs.tum.de Tel: (+49) 089 289 18545 Fax: (+49) 089 289 18546 https://mpic.fs.tum.de