Quoting Todd Zullinger ([EMAIL PROTECTED]):
> Mark Sapiro wrote:
> > Paul Tomblin wrote:
> >>Quoting Barry Warsaw ([EMAIL PROTECTED]):
> >>> It already does escape From lines in the body of the message. It
> >>> does this by way of the email package's Generator class, which is
> >>> instantiated with mangle_from_=True.
>
> According to the docs for email.Generator, mangle_from defaults to
> True and has since at least python 2.3. So setting it shouldn't be
> needed AFAICS.
Oh right, now I get it. I told you I didn't know Python, but I should have
been able to figure that
def __init__(self, outfp, mangle_from_=True, maxheaderlen=78):
meant that it defaulted to True in Generator.py so didn't need to be
changed in Mailman.
>
> In that case, shouldn't any message that reaches mailman with an
> unescaped From_ line in the body already be handled properly? It
> seems like something else must be borked. That or all of the messages
> in a list mbox that contain unescaped From_ lines got there from
> really old versions of Mailman/python.
That is distinctly possible. The archives in question go back to 1998. I
didn't keep track of when the *last* unescaped From_ line was put in the
archives.
--
Paul Tomblin <[EMAIL PROTECTED]> http://blog.xcski.com/
It could have been raining flaming bulldozers, and those idiots would have
been standing out there smoking, going 'hey, look at that John Deere burn!'
-- Texan AMD security guard
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp