I have a situation where I need to add / remove 10-20 non-members to a particular list every week and set the moderation bit to 'accept immediately (bypass other rules).
I do the above via postorius because I couldn't find a way to do this via mailman shell.
Can anyone help me please to achieve the above? I know how to remove all non-members via
/opt/mailman/mm/bin/mailman shell -l list.example.com
for nonmember in m.nonmembers.members: ... nonmember.unsubscribe() ... commit()
I am just having difficulties adding the non-members and setting the moderation bit to 'Accept'
Currently I am using Mailman 3.2.2 (La Villa Strangiato) and Postorius Version 1.2.4 so cant use 'postorius => settings -> message acceptance -> id_accept_these_nonmembers'
-- Regards, Zaheer