On 6/6/2007 8:08 PM Tokio Kikuchi said the following:
>>>   File "/var/lib/mailman/Mailman/Handlers/Scrubber.py", line 175, in 
>>> replace_payload_by_text
>>>     msg.set_payload(text, charset)
>>>   File "email/Message.py", line 218, in set_payload
>>>   File "email/Message.py", line 242, in set_charset
>>> TypeError: us-ascii
>> "mmarch" seems to be having trouble with the Content-Type header 
>> line.  If I pull out that line for a given message, it is ingested, 
>> though it displays the full MIME text.
> What exactly was the Content-Type header line ?
Here's the snippit of message header.  I don't see any problem with the 
line as is, this is how it exists in the message header.  The mbox is 
readable by mutt (my text email reader of choice).

Content-Transfer-Encoding: binary
Content-Type: multipart/alternative; 
boundary="_----------=_1136314441199510"
MIME-Version: 1.0

If I delete these lines from the mbox, the process will continue to the 
next entry in the mbox and then it will fail with the same set of error 
messages again:

Content-Transfer-Encoding: binary
Content-Type: multipart/alternative; 
boundary="_----------=_1136319711206230"
MIME-Version: 1.0

Doesn't make much sense to me why it's having trouble ingesting MIME.

-John

-- 
John Reddy
[EMAIL PROTECTED]
(631) 344-3284
Technology Architect
ITD Unix Services
Brookhaven National Labs

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
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&file=faq01.027.htp

Reply via email to