[Mailman-Users] Re: [Mailman-Developers] Looping digest - mailman bug?

alex wetmore alex@phred.org
Mon, 30 Jul 2001 13:37:08 -0700 (PDT)

On Mon, 30 Jul 2001, Thomas Wouters wrote:
> Sorry, this is the wrong fix. "\n." isn't the pattern that breaks it; you
> want "\r?\n.\r?\n". And the proper escape of a single dot on a line is
> doubling it (see the SMTP standard.) Barry, do you have a clue whether
> msgtext is guaranteed (not) to have \r's (CR) in them ? If either is
> guaranteed, we don't even need to use that ugly 're' module :)

RFC2822 requires CRLF to end a line, not just LF and not just CR.
However there are many broken SMTP clients which ignore this