
Aug. 7, 2025
7:40 p.m.
Wikinaut,
I was able to get a script to run commands within the 'mailman shell' by putting a script let's say set_members_prefs.py in the mailman installation directory, as directed by the documentation shown in '"mailman withlist --details" you can find this directory with "which mailman". For me it was "/opt/mailman/venv/bin/mailman" I put my script with a function named the same as the filename and was able to execute it with "mailman withlist -r script_name"