[Mailman-Developers] Use of tabs when folding header lines

Mark Sapiro msapiro at value.net
Fri Dec 2 18:49:40 CET 2005


Brad Knowles wrote:

>At 3:20 PM -0800 2005-11-28, Nathan Herring wrote:
>
>>  Specifically, when it (re)folds the Subject: and/or Thread-Topic: headers,
>>  it replaces a space character in the original subject with a tab character.
>
>	Also keep in mind that Mailman uses a lot of built-in Python 
>routines for handling stuff, and some of those routines might include 
>the handling and formatting of e-mail messages.  You want to make 
>sure that you're using the latest version of Python that is 
>compatible with the version of Mailman you've got.  Unfortunately, 
>while the people working on Mailman tend to be pretty well aware of 
>the various mail-related RFCs, the people writing the code and 
>libraries within Python itself may not be.

Brad is correct here. Mailman represents messages as instances of the
Python email.Message.Message class and is at the mercy of the methods
in that class as far header folding and unfolding are concerned. And,
for the record, even the Python 2.4.2 email module folds with a <tab>.

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



More information about the Mailman-Developers mailing list