Hello again, Thanks for the support :-)
I finally have put together a set of commands which do a great job for me: --- from Mailman import mm_cfg from Mailman.UserDesc import UserDesc from Mailman import MemberAdaptor userdesc = UserDesc() userdesc.address = "<e-mail address>" m.ApprovedAddMember(userdesc, ack=False, admin_notif=False) m.setMemberOption("<e-mail address>", mm_cfg.Moderate, False) m.setMemberOption("<e-mail address>", mm_cfg.AcknowledgePosts, False) m.setDeliveryStatus("<e-mail address>", MemberAdaptor.BYADMIN) --- (note that I had to replace "mlist" by "m", which is the default variable in my version, and "UserDesc" needs a capital D) But...that still isn't a batch script. I have to enter (/paste) this list of commands into the withlist console. Isn't there something like a shell script for the withlist console? It would really be cool to be able to apply those commands to all lists at once, or, at least, to a particular list using a single command. Best regards, -br > > > However, a much simpler approach for all but disabling delivery would > be with a shell script, for each list run 'bin/config_list' to set > new_member_options and default_member_moderation as desired, then > 'bin/add_members' to add the members and finally bin/config_list to > set the list back. > > Next time ... :-) > > ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp