Aliet Santiesteban Sifontes wrote:

>Hi list, I'm running mailman for several lists on
>debian sarge, mailman-2.1.5-8, suddenly one of of the
>lists stops working, maybe by spam or dos attack using
>a bug in mailman, here the error, any ideas on how ti
>fix this??:
>Sep 11 13:34:35 2005 (12535) Uncaught runner
>exception: 'utf8' codec can't decode bytes in position
>1-4: invalid data
>Sep 11 13:34:35 2005 (12535) 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/IncomingRunner.py",
>line 130, in _dispose
>    more = self._dopipeline(mlist, msg, msgdata,
>pipeline)
>  File
>"/usr/lib/mailman/Mailman/Queue/IncomingRunner.py",
>line 153, in _dopipeline
>    sys.modules[modname].process(mlist, msg, msgdata)
>  File
>"/var/lib/mailman/Mailman/Handlers/ToDigest.py", line
>91, in process
>    send_digests(mlist, mboxfp)
>  File
>"/var/lib/mailman/Mailman/Handlers/ToDigest.py", line
>132, in send_digests
>    send_i18n_digests(mlist, mboxfp)
>  File
>"/var/lib/mailman/Mailman/Handlers/ToDigest.py", line
>306, in send_i18n_digests
>    msg = scrubber(mlist, msg)
>  File
>"/var/lib/mailman/Mailman/Handlers/Scrubber.py", line
>265, in process
>    url = save_attachment(mlist, part, dir)
>  File
>"/var/lib/mailman/Mailman/Handlers/Scrubber.py", line
>361, in save_attachment
>    fnext = os.path.splitext(msg.get_filename(''))[1]
>  File "/usr/lib/python2.3/email/Message.py", line
>731, in get_filename
>    return unicode(newvalue[2], newvalue[0] or
>'us-ascii')
>UnicodeDecodeError: 'utf8' codec can't decode bytes in
>position 1-4: invalid data
>
>Sep 11 13:34:35 2005 (12535) SHUNTING:
>1126458561.9029009+2ca02ecc54d36f4e0a88a7ab17fc28736bd23635

A message has been posted to the list with an attached file. The
scrubber is trying to create a file name for the scrubbed attachment
using the filename of the attachment, but the filename is either
unparseable from the message or garbled in some way.

The bad message is probably in the lists/<listname>/digest.mbox file.
Try moving that file aside or editing it and see if that allows the
list to resume working. If so, you may be able to reprocess the
shunted messages with bin/unshunt, but that may cause the error to
reappear.

--
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to