Con Wieland wrote:
>
>Traceback (most recent call last):
>   File "/usr/local/mailman/cron/disabled", line 219, in ?
>     main()
>   File "/usr/local/mailman/cron/disabled", line 162, in main
>     if mlist.getDeliveryStatus(member) <> MemberAdaptor.ENABLED:
>   File "/usr/local/mailman/Mailman/OldStyleMemberships.py", line  
>139, in getDeliveryStatus
>     self.__assertIsMember(member)
>   File "/usr/local/mailman/Mailman/OldStyleMemberships.py", line  
>113, in __assertIsMember
>     raise Errors.NotAMemberError, member
>Mailman.Errors.NotAMemberError: ahref="mailto:[EMAIL PROTECTED]"


It looks like you have bounce_info for an 'address' that's no longer a
member. Perhaps the bad address was once a member and was removed via
some low level withlist operation that didn't remove the bounce_info.

The following withlist script should find the problem and fix it:

Cut-------------------------------------
"""Find a bouncing member that's not a member
and remove bounce_info.

Save as bin/find_bad.py

Run via

   bin/withlist -a -r find_bad
"""

def find_bad(mlist):
    for member in mlist.getBouncingMembers():
        if not mlist.isMember(member):
            mlist.Lock()
            del mlist.bounce_info[member]
            print 'list: %s - non-member: %s - bounce_info deleted'\
                   % (mlist.internal_name(), member)
            mlist.Save()
            mlist.Unlock()
Cut-------------------------------------

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to