[Bug 1235101] [NEW] Mailman 2.1.15 and later crashes on more email

David Westlund davidw at axis.com
Fri Oct 4 09:03:10 CEST 2013


Public bug reported:

After upgrading from Mailman 2.1.14 to 2.1.15 we noticed a steep increase in the number of shunted email. The error message is the following:
  File "/var/lib/mailman/Mailman/Queue/Runner.py", line 119, in _oneloop
    self._onefile(msg, msgdata)
  File "/var/lib/mailman/Mailman/Queue/Runner.py", line 190, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
    more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
    sys.modules[modname].process(mlist, msg, msgdata)
  File "/var/lib/mailman/Mailman/Handlers/SpamDetect.py", line 99, in process
    headers += getDecodedHeaders(p, lcset)
  File "/var/lib/mailman/Mailman/Handlers/SpamDetect.py", line 71, in getDecodedHeaders
    v = decode_header(re.sub('\n\s', ' ', v))
  File "/usr/lib/python2.7/email/header.py", line 108, in decode_header
    raise HeaderParseError
HeaderParseError

The older version of SpamDetect.py did not crash nearly as often. The
reason seems to be that now python's email module is used and it crashes
much more often than the earlier solution where the HeaderGenerator
class in SpamDetect.py was used.

** Affects: mailman
     Importance: Undecided
         Status: New

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

Title:
  Mailman 2.1.15 and later crashes on more email

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


More information about the Mailman-coders mailing list