On Fri, 7 Apr 2023, at 12:43, Dave Hall via Mailman-users wrote:
On Fri, Apr 7, 2023 at 12:29 PM Odhiambo Washington <odhiambo@gmail.com> wrote:
On Fri, Apr 7, 2023 at 7:14 PM Dave Hall via Mailman-users < mailman-users@mailman3.org> wrote:
It's actually not that difficult to migrate from the Debian packages to the virtualenv setup. It's not an option for me today.
I feel you.
I am running MM2 und 3 in parallel without problems, I do have a special MTA setup though (Sendmail). Can't speak for Postfix etc..
Ownerships for Mailman 3:
# ls -l /etc/mailman3/ total 36 -rw-r--r-- 1 root root 399 2019-06-07 20:03 apache.conf -rw-r----- 1 root list 756 2022-02-24 23:17 mailman-hyperkitty.cfg -rw-r----- 1 list www-data 7672 2023-04-06 13:52 mailman-web.py -rw-r----- 1 root list 11489 2022-02-24 23:16 mailman.cfg -rw-r--r-- 1 root root 2893 2019-06-07 20:03 nginx.conf -rw-r--r-- 1 root root 1511 2019-06-07 20:03 uwsgi.ini
/var/log/mailman3/ is list:list 755 /var/log/mailman3/web/ is www-data:www-data 755 /var/lib/mailman3/ is list:list 755
Contents in /var/lib/mailman3/ are list:list 755 except for /var/lib/mailman3/web/ which is all www-data:www-data 755
Make sure to always run any mailman
as user list.
mailman-web
has the su
to www-data built-in, it's just:
su -s /bin/sh -c "python3 /usr/share/mailman3-web/manage.py $*" www-data
So, use mailman-web whereever the docu says manage.py or django_admin --pythonpath /usr/share/mailman3-web
-- -- Andreas
:-)