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 <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/[email protected]/message/6W22JSIOWF2VAYH6HVCW6IKMR2RGAD6A/

This message sent to [email protected]

Reply via email to