qrunner hung by spam
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
New
|
High
|
Unassigned |
Bug Description
I realized no mail had gone out for 6 days, and saw
that qrunner was barfing on SOMETHING. This is with
Mailman 2.0.6. Even
though I'm behind the times, I'd bet this bug could be
in 2.1.X -- I just don't know enough Python to see
what's going on. I blew away a bunch of files in my
qfiles directory; I didn't save the bad message.
Apr 24 00:39:01 2003 qrunner(2397): Traceback
(innermost last):
Apr 24 00:39:01 2003 qrunner(2397): File
"/home/
Apr 24 00:39:01 2003 qrunner(2397): kids = main(lock)
Apr 24 00:39:01 2003 qrunner(2397): File
"/home/
Apr 24 00:39:01 2003 qrunner(2397): keepqueued =
dispose_
Apr 24 00:39:01 2003 qrunner(2397): File
"/home/
Apr 24 00:39:01 2003 qrunner(2397): if
BouncerAPI.
Apr 24 00:39:01 2003 qrunner(2397): File
"/home/
59, in ScanMessages
Apr 24 00:39:01 2003 qrunner(2397): addrs = func(msg)
Apr 24 00:39:01 2003 qrunner(2397): File
"/home/
in process
Apr 24 00:39:01 2003 qrunner(2397): more =
mfile.next()
Apr 24 00:39:01 2003 qrunner(2397): File
"/usr/lib/
Apr 24 00:39:01 2003 qrunner(2397): while
self.readline(): pass
Apr 24 00:39:01 2003 qrunner(2397): File
"/usr/lib/
Apr 24 00:39:01 2003 qrunner(2397): if marker ==
self.section_
Apr 24 00:39:01 2003 qrunner(2397): File
"/usr/lib/
section_divider
Apr 24 00:39:01 2003 qrunner(2397): return "--" + str
Apr 24 00:39:01 2003 qrunner(2397): TypeError :
illegal argument type for built-in operation
[http://
I also encountered that bug once at a site of a friend. Bouncers/ Postfix. py 'boundary' )
return None
Take a look at Mailman/
and especially the line with
boundary = msg.getparam(
this can result in boundary being "None"
which is then not treated properly.
So add the following check below this with
the correct indentation:
if not boundary:
If I remember correctly this was handled completely differently
in Mailman 2.1 so I believe that this bug is limited to
Mailman 2.0.x.