[Bug 897103] Re: Crash when moderating messages with empty sender address

Mark Sapiro mark at msapiro.net
Wed Nov 30 02:09:42 CET 2011


I have fixed this by preventing the underlying cause from happening. If
a message is held for which Mailman's Message.get_sender() method
returns an empty string, the sender in the request.pck file will be
recorded as '<missing>'. This will prevent the problem in the future,
but it won't fix the crash if there is an existing held message entry in
request.pck with a null sender. The crash can be avoided by going to the
message detail page for the held message by following the number link
next to the Subject: in the overview page and discarding the message
from the detail page.

Interestingly, for this issue to have occurred in the first place, in
addition to the From: header having a null address, the same must have
been true of a Sender: header if any and the envelope sender.

** Changed in: mailman
   Importance: Undecided => Low

** Changed in: mailman
       Status: New => Fix Committed

** Changed in: mailman
    Milestone: None => 2.1.15

** Changed in: mailman
     Assignee: (unassigned) => Mark Sapiro (msapiro)

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/897103

Title:
  Crash when moderating messages with empty sender address

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/897103/+subscriptions


More information about the Mailman-coders mailing list