Hi,

David Relson wrote:

FYI:

Jun 04 09:09:06 2004 (18876) SHUNTING:
1086170174.3516641+c52aafd5601316eadd825f0a9ec902c5ac8fbc7e
Jun 04 09:09:06 2004 (18876) Uncaught runner exception: ISO-2022-JP
encoding error: invalid character \x96

Well behaved japanese mailers do not produce such an error and this is highly probable that it was a SPAM. You may ignore such errors and clear the shunt directory.

Or, you can apply this patch.

Index: Mailman/Queue/CommandRunner.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Queue/CommandRunner.py,v
retrieving revision 2.26.2.4
diff -u -r2.26.2.4 CommandRunner.py
--- Mailman/Queue/CommandRunner.py      1 Dec 2003 01:52:12 -0000       2.26.2.4
+++ Mailman/Queue/CommandRunner.py      25 Apr 2004 04:43:06 -0000
@@ -77,7 +77,7 @@
             subj = make_header(decode_header(subj)).__unicode__()
             # Always process the Subject: header first
             self.commands.append(subj)
-        except HeaderParseError:
+        except (HeaderParseError, UnicodeError, LookupError):
             # We couldn't parse it so ignore the Subject header
             pass
         # Find the first text/plain part

--
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/


------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Reply via email to