[Mailman-Users] archive processing problem (mmarch w/ MIME)

John Reddy jreddy at bnl.gov
Thu Jun 7 14:45:28 CEST 2007

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; 
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; 
MIME-Version: 1.0

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


John Reddy
jreddy at bnl.gov
(631) 344-3284
Technology Architect
ITD Unix Services
Brookhaven National Labs

More information about the Mailman-Users mailing list