Thanks, that works for me.
Am Dienstag, 14. September 2021, 20:31:59 CEST schrieb Abhilash Raj:
On Tue, Sep 14, 2021, at 4:57 AM, Eggert Ehmke via Mailman-users wrote:
Hello, I understand that the mailman shell is basically interactive. I need to run some actions as adding and deleting users in a Linux shell script, or even from another python program. How does that work?
Check out mailman members, addmembers, delmembers, syncmembers commands1 and see if they do what you are expecting the Mailman2 commands to do or you need something more.
ocs/commands.html
If you are using another Python program, then you can rely on mailmanclient[2] python package for operations on lists and memberships using Mailman's REST API.
In fact, I miss the commands that were in the bin directory of the old mailman2 installation. Wouldn't it be nice to add them again to mailman3?
Cheers, Eggert
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/