On Sat, Jul 03, 2004 at 09:14:18AM -0400, Speedy Gonzalis wrote: > Is there a way in 2.1 to set subscriptions on administrative > hold via the command line?
By "administrative hold" do you mean you want to set your @aol.com users to "no mail" status? $ bin/withlist -l mylist >>> for member in \ ... m.getDeliveryStatusMembers((MailList.MemberAdaptor.ENABLED,)): ... if member.rfind('@aol.com') > 0: ... m.setDeliveryStatus(member, MailList.MemberAdaptor.BYADMIN) ... {return} >>> m.Save() >>> {ctrl-D} Or you could make a function for withlist that takes a member's address on the command line and do the looping in a shell script. -- Jim Tittsler http://www.OnJapan.net/ GPG: 0x01159DB6 Python Starship http://Starship.Python.net/ Ringo MUG Tokyo http://www.ringo.net/rss.html ------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] 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/