[Mailman-Users] revisiting Mailman content-type problem

Mark Sapiro msapiro at value.net
Tue Feb 20 01:44:52 CET 2007

Ron Brogden wrote:

>Howdy.  While researching a problem that a user was having with long URLs 
>getting wrapped in their Mac mail client I came across the following thread 
>from last year dicussing the very same problem:
>To summarize, "delsp=yes; format=flowed" is getting dropped during Mailman's 
>parsing of the message.  At the time of the note above Mark Sapiro  said that 
>this was due to a mix of issues within Mailman plus the underlaying Python 
>Has there been any change of the status of this issue or is the only 
>workaround still to turn off attachement scrubbing and empty the header / 

It's been on my ToDo list long enough. Attached is a patch you can try
if you are willing. This patch should preserve the format and delsp
parameters on Content-Type headers for the original message body.

A couple of remarks.

If msg_header and/or msg_footer contain lines with trailing spaces, if
these are added to a Format=flowed message body, the header and/or
footer will be flowed by the end MUA - make sure these do not have
trailing spaces.

In looking at the code to develop the patch, I don't really see how the
dropping of the Format and DelSp parameters causes ultimate improper
wrapping of scrubber URLs, so I'm not sure that this patch fixes that.
The problem is real and definitely manifests itself in other ways, so
the patch (assuming it is good - I did test it to make sure it didn't
break anything obvious) is needed. I'm just not sure if it will fix
your immediate problem.

Please try the patch if you can, and report. If it doesn't fix the
wrapped URLs, I'll probably need message samples to figure it out.

Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: flowed.patch.txt
Url: http://mail.python.org/pipermail/mailman-users/attachments/20070219/93ddc3ac/attachment.txt 

More information about the Mailman-Users mailing list