[Mailman-Users] MM errors.

Mark Sapiro msapiro at value.net
Fri Oct 26 01:05:55 CEST 2007

Doc Schneider wrote:
>I'm seeing the following errors in the error log. Any one know where to
>find a fix? This is MM 2.1.5 running on RHEL 4 Python 2.3.4.
>Oct 24 18:15:35 2007 (13363) SHUNTING:
>Oct 24 18:15:51 2007 (13363) Uncaught runner exception: unknown
>encoding: gb2312
>Oct 24 18:15:51 2007 (13363) Traceback (most recent call last):
>  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
>    self._onefile(msg, msgdata)
>  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 167, in _onefile
>    keepqueued = self._dispose(mlist, msg, msgdata)
>  File "/usr/lib/mailman/Mailman/Queue/CommandRunner.py", line 223, in
>    res = Results(mlist, msg, msgdata)
>  File "/usr/lib/mailman/Mailman/Queue/CommandRunner.py", line 77, in
>    subj = make_header(decode_header(subj)).__unicode__()
>  File "/usr/lib/mailman/pythonlib/email/Header.py", line 144, in
>    h.append(s, charset)
>  File "/usr/lib/mailman/pythonlib/email/Header.py", line 272, in append
>    ustr = unicode(s, incodec, errors)
>LookupError: unknown encoding: gb2312

It looks to me like you are getting spam sent to one or more of the
listname-confirm, listname-request, listname-join, listname-subscribe,
listname-leave or listname-unsubscribe addresses with an RFC 2047
encoded subject with a 'gb2312' encoding. I'm not sure why your Python
email library doesn't recognize this encoding, but in any case, these
are almost certainly spam messages.

You can examine the message entries in qfiles/shunt/ with
bin/show_qfiles, and if they are in fact spam, just remove the files.

Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list