On 5/17/24 12:06 PM, Keith Christian wrote:
The path to the mailman3.py file is: /home/mailman3/mailman/src/mailman/bin/mailman.py I created a mailman3 user, then, set the ownership on all directories and files in /home/mailman3 and below to mailman3:mailman3.
You need to install all the dependencies and also have /home/mailman3/mailman/src/mailman in your PYTHONPATH.
If you just want Mailman Core and given that you've already cloned it
from gitlab, I suggest creating a Python virtual environment as the
mailman3 user with python3 -m venv /path/to/your/venv
and then as the
mailman3 user activate the venv, source /path/to/your/venv/bin/activate
, and do pip install /home/mailman3/mailman
to install Mailman and it's dependencies in the
venv. Then you can just run mailman info
.
I suggest a venv for this to isolate the dependencies from things that might already be installed system wide with differing versions.
To install the whole suite including the Postorius web UI for list management and the HyperKitty archiver, see https://docs.mailman3.org/en/latest/install/virtualenv.html
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan