[Mailman-Users] Clearing Bounce Scores Globally

2012-06-07 Thread Terry Earley
We need to clear/reset bounce stats for Yahoo members on our list. we modified Mark Sapiro's script at: http://www.msapiro.net/scripts/reset_bounce.py to modify only Yahoo email addresses, but it cleared only 2 that had been bouncing. That squares with the comment at top: Enable delivery for all

Re: [Mailman-Users] Clearing Bounce Scores Globally

2012-06-07 Thread Barry S, Finkel
On 6/7/2012 10:23 AM, Terry Earley wrote: We need to clear/reset bounce stats for Yahoo members on our list. we modified Mark Sapiro's script at: http://www.msapiro.net/scripts/reset_bounce.py to modify only Yahoo email addresses, but it cleared only 2 that had been bouncing. That squares with

Re: [Mailman-Users] Clearing Bounce Scores Globally

2012-06-07 Thread Dave (FitEyes)
How about something like this code? Clear (erase) bounce statistics (scores) for all members (intended to be used with the optional domain parameter only) Modified from original reset_bounce.py by Mark Sapiro. Save as bin/clear_bounce_info.py Run via bin/withlist -r clear_bounce_info

Re: [Mailman-Users] Clearing Bounce Scores Globally

2012-06-07 Thread Mark Sapiro
On 6/7/2012 9:15 AM, Dave (FitEyes) wrote: How about something like this code? [...] for member in mlist.getMembers(): if domain and not member.endswith(domain): continue del mlist.bounce_info[member] count += 1 Close, but that will throw a KeyError