11 Jul
2017
11 Jul
'17
7:31 p.m.
Below is how I would recommend to run Mailman for production using a virtualenv
# useradd -r -m -d /var/lib/mailman mailman
# su - mailman
$ python3 -m venv env $ source env/bin/activate $ pip install mailman $ mailman info
Now you should have a working configuration in /var/lib/mailman/var/
to run mailman you don't need to activate the virtualenv, just use the executable /var/lib/mailman/env/bin/mailman
cheers, Simon