Hello, I'm trying to run mailman 3 in production on a shared server. Mailman gets its mail from exim via LMTP. First it appeared to work fine, but I got a problem:
According to my mailman.log, mails with special characters (in this case "€", but also Germanic umlauts as "ö") in their bodies are shunted and not delivered. (Mails with special characters only in their subjects but not in their bodies are not affected by this error.) ---- May 29 01:17:26 2015 (2332) ACCEPT: <5567xxxx.5040...@xxxx.net> May 29 01:17:27 2015 (2317) Uncaught runner exception: 'ascii' codec can't encode character '\u20ac' in position 1: ordinal not in range(128) May 29 01:17:27 2015 (2317) Traceback (most recent call last): File "/home/casi/mailman3/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/core/runner.py", line 165, in _one_iteration self._process_one_file(msg, msgdata) File "/home/casi/mailman3/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/core/runner.py", line 258, in _process_one_file keepqueued = self._dispose(mlist, msg, msgdata) File "/home/casi/mailman3/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/runners/pipeline.py", line 41, in _dispose process(mlist, msg, msgdata, pipeline) File "/home/casi/mailman3/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/core/pipelines.py", line 62, in process handler.process(mlist, msg, msgdata) File "/home/casi/mailman3/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/handlers/to_digest.py", line 54, in process mbox.add(msg) File "/package/host/localhost/python-3.4/lib/python3.4/mailbox.py", line 601, in add self._toc[self._next_key] = self._append_message(message) File "/package/host/localhost/python-3.4/lib/python3.4/mailbox.py", line 752, in _append_message offsets = self._install_message(message) File "/package/host/localhost/python-3.4/lib/python3.4/mailbox.py", line 824, in _install_message self._dump_message(message, self._file, self._mangle_from_) File "/package/host/localhost/python-3.4/lib/python3.4/mailbox.py", line 214, in _dump_message gen.flatten(message) File "/package/host/localhost/python-3.4/lib/python3.4/email/generator.py", line 112, in flatten self._write(msg) File "/package/host/localhost/python-3.4/lib/python3.4/email/generator.py", line 178, in _write self._dispatch(msg) File "/package/host/localhost/python-3.4/lib/python3.4/email/generator.py", line 211, in _dispatch meth(msg) File "/package/host/localhost/python-3.4/lib/python3.4/email/generator.py", line 433, in _handle_text super(BytesGenerator,self)._handle_text(msg) File "/package/host/localhost/python-3.4/lib/python3.4/email/generator.py", line 246, in _handle_text self._write_lines(payload) File "/package/host/localhost/python-3.4/lib/python3.4/email/generator.py", line 158, in _write_lines self.write(laststripped) File "/package/host/localhost/python-3.4/lib/python3.4/email/generator.py", line 407, in write self._fp.write(s.encode('ascii', 'surrogateescape')) UnicodeEncodeError: 'ascii' codec can't encode character '\u20ac' in position 1: ordinal not in range(128) May 29 01:17:27 2015 (2317) SHUNTING: 1432855047.4798193+1fe1f94488b77c19d5521cb8cbcda48f52828752 ---- Deleting the list's digest.mmdf file had no effect. "mailman unshunt" created a new, empty digest.mmdf file, but the mails where shunted again. Is there any solution for this issue? Best regards, casi ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org