OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Stray newlines problem with yahoo - any solutions for this now?

From: Wietse Venema (wietseporcupine.org)
Date: Mon Jun 02 2003 - 09:48:01 CDT


Victor.Duchovnimorganstanley.com:
> On Mon, 2 Jun 2003, Daniel Qian | ??? wrote:
>
> > Can you name a few of these free and/or commercial content filter programs ?
> >
>
> All we were trying to do is issue a warning in the log when a message
> contains a bare CR:
>
> /\r/ WARN bare CR found.

Reportedly, he base64 encodes his text.

I suspect there is some base64 DEcoder in the path that mistakenly
exposes his PC's <CR><LF> line breaks.

The Postfix SMTP server will strip <CR><CR><LF>, but the Postfix
sendmail command will strip <CR> from <CR><LF> only if the first
input line ends with <CR><LF>.

Fix: use quoted-printable for text, instead of base64.

        Wietse