spams get shunted in CommandRunner
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
Medium
|
Unassigned |
Bug Description
If a spam which is directed to -request address has
non-ascii subject, it is shunted by UnicodeError and
the shunt directory will become full of such spams.
I attach a patch to solve this by simply ignore this
error.
Here is the symptom in logs/error
Mar 04 02:42:42 2004 (49945) Uncaught runner
exception: ASCII decoding error: ordinal not in
range(128)
Mar 04 02:42:42 2004 (49945) Traceback (most recent
call last):
File "/usr/local/
line 113, in _oneloop
self.
File "/usr/local/
line 163, in _onefile
keepqueued = self._dispose(
File
"/usr/local/
line 223, in _dispose
res = Results(mlist, msg, msgdata)
File
"/usr/local/
line 77, in __init__
subj =
make_header(
File
"/usr/local/
144, in make_header
h.append(s, charset)
File
"/usr/local/
272, in append
ustr = unicode(s, incodec, errors)
UnicodeError: ASCII decoding error: ordinal not in
range(128)
Mar 04 02:42:42 2004 (49945) SHUNTING:
1078335762.
eb8d4d0cae8f56c595
[http://
Closing because of double post.