
Aug. 5, 2025
10:41 p.m.
On 8/5/25 15:18, Wikinaut wrote:
Okay, the mileage was long. It now works finally. Thank you for your patience.
How to place the script somewhere else ( outside /opt/mailman/venv/bin ), is this possible to have it in /home/maillistgen for example?
It can be anywhere, but it has to be importable by Python which means it
needs to be in a directory somewhere in sys.path. You could put it in
/home/maillistgen if you export PYTHONPATH='/home/maillistgen'
before
running mailman shell
The PYTHONPATH environment variable will add
that directory to sys.path for subsequent python invocations.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan