[Mailman-Users] Any way to disable wrapping of the subject header?

Adam Nielsen adam.nielsen at uq.edu.au
Fri Jun 27 06:48:53 CEST 2008


> This has been discussed before on this and other lists and is being
> discussed right now on email-sig at python.org (see
> <http://mail.python.org/pipermail/email-sig/2008-June/thread.html>).

Ah ok, that looks promising.  Sorry, I did Google around a fair bit but 
I guess I was using the wrong keywords...

>> Does anyone know if there's a way to do this, or whereabouts in the code 
>> I should start looking?
> 
> Search for '\t' in Mailman/Handlers/CookHeaders.py. Some (most)
> occurrences can be replaced with ' '.
> 
> I think the only one that can't be changed is
> 
>     if len(lines) > 1 and lines[1] and lines[1][0] in ' \t':
>         ws = lines[1][0]
> 

Excellent, thanks for that!  I'll try it now.

Cheers,
Adam.


More information about the Mailman-Users mailing list