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

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

** Branch linked: lp:mailman/2.1

** Changed in: mailman Status: In Progress => Fix Committed

** Changed in: mailman Status: Fix Committed => Fix Released
** Changed in: mailman Milestone: 2.1.21 => 2.1.21rc1
participants (2)
-
Launchpad Bug Tracker
-
Mark Sapiro