On Wed, Apr 28, 2004 at 09:14:38AM -0700, Hunter Hillegas wrote:
> Is there a way to reset all users that are set to nomail[B] to re-enable
> delivery?

This is the sort of thing that 'withlist' is good for.

> We have 20,000 members on our list on AOL, so doing it by hand sounds about
> as great as having my hand chopped off.

$ bin/withlist -l -i mylist
for member in m.getDeliveryStatusMembers((MailList.MemberAdaptor.BYBOUNCE,)):
    m.setDeliveryStatus(member, MailList.MemberAdaptor.ENABLED)
m.Save()
{ctrl-d}

You could even get a little more fancy and only reenable the
user if the m.getDeliveryStatusChangeTime(member) value is
"recent" enough.

Jim

-- 
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/

Reply via email to