[Mailman-Users] Mailman 2.1.3 + shunt

Kjartan Mannes kjartan at zind.net
Tue Oct 28 23:40:07 CET 2003


I've noticed I'm not the only one with these kinds of problems, but I
can't seem to find a solution that works. Right now there are 35
messages in qfiles/shunt, and over half of them I can't see anything
wrong with.

  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 110, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 160, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/OutgoingRunner.py", line 74, in _dispose
    self._func(mlist, msg, msgdata)
  File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 146, in process
    deliveryfunc(mlist, msg, msgdata, envsender, refused, conn)
  File "/usr/local/mailman/Mailman/Handlers/SMTPDirect.py", line 279, in verpdeliver
    Decorate.process(mlist, msgcopy, msgdata)
  File "/usr/local/mailman/Mailman/Handlers/Decorate.py", line 89, in process
    payload = header + frontsep + oldpayload + endsep + footer
UnicodeError: ASCII decoding error: ordinal not in range(128)

Oct 28 23:20:13 2003 (31856) SHUNTING: 1067031965.589999+964d31a87ebd534316964bae23ce8669cbd07af6
Oct 28 23:20:34 2003 (31856) Uncaught runner exception: ASCII decoding error: ordinal not in range(128)
Oct 28 23:20:34 2003 (31856) Traceback (most recent call last):

Is it possible to just have Mailman ignore these errors and process the
mail anyway?

Adding add_language('en'..) with different charsets seem to work. Oddly
enough some messages with Content-Type set to utf-8 end up in shunt, but
get through just find if I add add_language('en', ('English'), 'utf-8')
to mm_cfg.py. However, having to manually process these messages is
starting to become annoying, and if I keep the utf-8 as the default the
Mailman adds a mime part with the signature for all non utf-8 mails,
which is the majority of mails, that cause annoyances for some users.

-- 
Kjartan <kjartan at zind.net>
:: "Women are made to be loved, not understood." - Oscar Wilde





More information about the Mailman-Users mailing list