revisiting Mailman content-type problem

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:
http://mail.python.org/pipermail/mailman-users/2006-February/049477.html
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 libraries.
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 / footer?
Mark said previously:
"You might be able to avoid the problem if you set scrub_nondigest to No and make sure both msg_header and msg_footer are empty, but this may not be satisfactory for other reasons."
Cheers!
Ron
-- islandnet.com http://www.islandnet.com support@islandnet.com ph: (250) 383-0096 fax: (250) 383-6698

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:
http://mail.python.org/pipermail/mailman-users/2006-February/049477.html
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 libraries.
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 / footer?
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@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Mark said:
"It's been on my ToDo list long enough. ".
While making something that works 100% Mark, why not suggest that Ron's User's (like I have done to all of mine -:) ) use www.tinyurl.com ?? NEVER had a prob with the generated stuff and it is FREE -;):):) !!
Ed
participants (3)
-
JB@comcast
-
Mark Sapiro
-
Ron Brogden