[Bug 1482940] [NEW] A bounced probe can throw AttributeError

Mark Sapiro mark at msapiro.net
Sun Aug 9 03:36:29 CEST 2015

Public bug reported:

If the site has set 'VERP_PROBES = Yes', when a user's bounce score
reaches threshold, that user's score is reset and a probe message with a
confirmation token is sent to the user. If the probe bounces, the user's
delivery is disabled by bounce.

The issue is if the probe bounces, but for some reason, the bounce is
not returned within bounce_info_stale_after days, the user's bounce_info
can be deleted before the probe bounce is returned. Then the probe
processing gets the user's bounce_info which is None and attempts to
disable the member's delivery with bounce_info = None, and
disableBouncingMember attempts to get the cookie attribute from None
resulting in

AttributeError: 'NoneType' object has no attribute 'cookie'

** Affects: mailman
     Importance: Medium
     Assignee: Mark Sapiro (msapiro)
         Status: In Progress

You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.

  A bounced probe can throw AttributeError

To manage notifications about this bug go to:

More information about the Mailman-coders mailing list