Alexander Lazarevich wrote: >I've trying to add members to a list, via command line, with the nomail >option set. add_member doesn't have that option. I checked clone_member, >which *says* it will clone a members settings to a new account, but that >doesn't seem to inherit the nomail option.
That's right. clone_member only clones the message/digest setting an the bit flag options. >How do I create new members via command line, or set the members nomail >flag via command line. There is no way the only way to do this is via the >web interface, is there? You need a withlist script such as the following: Cut--------------------------------------------------------- """Set a member to no mail by admin. Save as bin/set_nomail.py Run via bin/withlist -r set_nomail <listname> <member> """ from Mailman import MemberAdaptor def set_nomail(mlist, member): if not mlist.Locked(): mlist.Lock() mlist.setDeliveryStatus(member, MemberAdaptor.BYADMIN) mlist.Save() mlist.Unlock() Cut---------------------------------------------------------- -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ 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