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?

Victor.Duchovnimorganstanley.com
Date: Mon Jun 02 2003 - 10:57:05 CDT


On Mon, 2 Jun 2003, daniel qian wrote:

> Yahoo complains on a stray newline - said to be a bare LF without an
> accompanying CR by RFC822 standard but I didn't check that out. Anyway I
> put this in my body_checks: > /[^\r]\n[^\r]/ Warning Bare LF in body
> and this part works. What surprised me is it gets detected regardless of
> message encoding. Then I tried sending these sort of messages to yahoo
> and yahoo didn't reject them for last two days. I am not sure if they

You have forgotten that Postfix is incapable of generating bare LF, don't
look for bare LF, look for bare CR! Yahoo's message is likely misleading...

Note also, that the complaint about bare LF is believed by most on this
list to be a Yahoo bug with *some* of their MX hosts (behind load balancer
switches, so the host you are talking to is random).

--
        Viktor.