[Mailman-Users] Problems with digests
Bretton Vine
bretton at hivemind.net
Wed Sep 13 17:58:31 CEST 2006
Tokio Kikuchi said the following on 2006/09/13 02:45 PM:
> Can you try these and check the email version?
<snip>
> The email-3.0.x in Python 2.4 is not suitable for mailman. Mailman
> 2.1.8(or 9) works best with the email-2.5.7(or 8) which is the bug fix
> version of Python 2.3 library.
Working under the assumption that this is related to the problem I posted
I've upgraded python and still get a problem with certain attachments going
to lists. Exim accepts the message, delivers to mailman and then mailman
chokes and fails to deliver to list members
Python 2.5c1 (r25c1:51305, Aug 19 2006, 21:01:01)
[GCC 4.1.2 20060814 (prerelease) (Debian 4.1.1-11)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import email
>>> email.__version__
'4.0.1'
>>>
<ctrl-D>
# cd MMHOME/cron
# python
Python 2.5c1 (r25c1:51305, Aug 19 2006, 21:01:01)
[GCC 4.1.2 20060814 (prerelease) (Debian 4.1.1-11)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import paths
>>> import email
>>> email.__version__
'2.5.7'
What gives? What is odd is that some files with " ' " in the filename go to
the list while others don't. I've tried changing characterset in mail client
to no avail.
Apologies if I'm hijacking a thread, it's just I'm seen similar errors when
trying to post to a list with a PDF attachment ... not directly related to
senddigests at all (digests disabled)
I still get the following in the error log:
(edited for brevity)
---------------------------------------------------------------------------
qrunner(18178): File "MMHOME/pythonlib/email/Parser.py", line 75, in parsestr
qrunner(18178): return self.parse(StringIO(text), headersonly=headersonly)
qrunner(18178): File "MMHOME/pythonlib/email/Parser.py", line 64, in parse
qrunner(18178): self._parsebody(root, fp, firstbodyline)
qrunner(18178): File "MMHOME/pythonlib/email/Parser.py", line 240, in _parsebody
qrunner(18178): msgobj = self.parsestr(part)
qrunner(18178): File "MMHOME/pythonlib/email/Parser.py", line 75, in parsestr
qrunner(18178): return self.parse(StringIO(text), headersonly=headersonly)
qrunner(18178): File "MMHOME/pythonlib/email/Parser.py", line 64, in parse
qrunner(18178): self._parsebody(root, fp, firstbodyline)
qrunner(18178): File "MMHOME/pythonlib/email/Parser.py", line 146, in
_parsebody
qrunner(18178): boundary = container.get_boundary()
qrunner(18178): File "MMHOME/pythonlib/email/Message.py", line 762, in
get_boundary
qrunner(18178): boundary = self.get_param('boundary', missing)
qrunner(18178): File "MMHOME/pythonlib/email/Message.py", line 616, in
get_param
qrunner(18178): for k, v in self._get_params_preserve(failobj, header):
qrunner(18178): File "MMHOME/pythonlib/email/Message.py", line 563, in
_get_params_preserve
qrunner(18178): params = Utils.decode_params(params)
qrunner(18178): File "MMHOME/pythonlib/email/Utils.py", line 337, in
decode_params
qrunner(18178): charset, language, value =
decode_rfc2231(EMPTYSTRING.join(value))
qrunner(18178): File "MMHOME/pythonlib/email/Utils.py", line 284, in
decode_rfc2231
qrunner(18178): charset, language, s = parts
--
| Bretton Vine | 083 633 8475 | bretton at hivemind.net |
| GPG: http://bretton.hivemind.net/bretton_vine.asc |
"Insanity: doing the same thing over and over again and expecting different
results." - Albert Einstein
More information about the Mailman-Users
mailing list