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 <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

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

This message sent to arch...@mail-archive.com

Reply via email to