yet another hack: print "nomail" addresses and reasons
30 Jan
2002
30 Jan
'02
8:15 a.m.
I've been changing my "nomail" module for withlist to incorporate the new format in 2.1 and print it. Here's the latest version (use with bin/withlist -r nomail <listname> from ~mailman):
from Mailman import MemberAdaptor
def statusstr(status): return ('0', 'UNKNOWN', 'BYUSER', 'BYADMIN', 'BYBOUNCE')[status]
def nomail(list):
statuses = (MemberAdaptor.UNKNOWN, MemberAdaptor.BYUSER, MemberAdaptor.BYADMIN, MemberAdaptor.BYBOUNCE)
for status in statuses: members = list.getDeliveryStatusMembers((status,)) for member in members: print member, statusstr(status) sys.exit(0)
8340
Age (days ago)
8340
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dan Mick