https://docs.mailman3.org/en/latest/install/virtualenv.html#virtualenv-insta...
Following the instructions (at the above URL) to create the mailman.cfg, I'm getting a permissions problem when trying to do so as user "mailman" .
Although the instructions say to create the file as user "mailman", should it be created by root (with/without virtualenv?) and then chown to "mailman"?
Make sure that you are running commands as mailman user from here forth.
root@mx:/# su mailman
Create the virtualenv for Mailman:
mailman@mx:/$ cd /opt/mailman mailman@mx:~$ python3 -m venv venv
Activate the created virtualenv:
mailman@mx:~$ source /opt/mailman/venv/bin/activate
The rest of this documentation assumes that virtualenv is activated.
Installing Mailman Core
(venv) mailman@mx:~$ pip install wheel mailman psycopg2-binary ...Successfully installed...
After this, create a configuration file at /etc/mailman3/mailman.cfg for Mailman Core:
(venv) mailman@mx:~$ nano /etc/mailman3/mailman.cfg [ Directory '/etc/mailman3' does not exist ]
(venv) mailman@mx:~$ mkdir /etc/mailman3 mkdir: cannot create directory ‘/etc/mailman3’: Permission denied