18 Sep
2021
18 Sep
'21
6:42 p.m.
On 18/9/21 20:27, Mark Sapiro wrote:
from mailman.interfaces.action import Action def moderar(mlist, member): memb = mlist.members.get_member(member) if not memb: print('{} is not a list member.'.format(member)) return memb.moderation_action = Action.hold print('{} moderation_action set to hold.'.format(member))
That completely did it. The problem about finding the module was completely gone when I made a soft link in the same directory where mailman command is (in /usr/local/bin, for your info).
Thank you very, very much.