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