[Mailman-Users] Help! Digest went nuts!

Steph hergrace at pmeb.org
Tue Jun 5 07:53:54 CEST 2001

thanks again for the suggestions! I'll have to forward them on to the folks 
who are allowed to get at the Python code. Unfortunately, I don't know 
which version of Python they're using -- but this sounds like it *might* be 
the key we need!


At 01:43 AM 6/5/01 -0400, Barry wrote:

> >>>>> "CVR" == Chuq Von Rospach <chuqui at plaidworks.com> writes:
>     CVR> if the log shows nothing, I've seen this before. turns out a
>     CVR> user had an embedded NUL character (ascii 0), and it caused
>     CVR> the file I/O routines to see a premature EOF. Mailman needs
>     CVR> to protect itself from this by stripping weird ascii
>     CVR> characters as the messages enter the system...
>Who's file I/O routines?  Is the MTA mistaking the NUL for an EOF?  If
>so, what MTA are you using Steph?  It should be easy to strip out the
>NUL's by adding one line to SMTPDirect.py.  At the top of the function
>deliver(), add something like the following (untested!):
>     msgtext = string.replace(msgtext, '\0', '')
>or, if you're using Python 2.x
>     msgtext = msgtext.replace('\0', '')

More information about the Mailman-Users mailing list