Page 1 of 2

Bare LFs from hotmail (qmail)

Posted: Wed Sep 30, 2009 3:47 pm
by faris
I've seeing a huge number of
possible qmail-smtpd exited by timeout, reset connection or with "See http://pobox.com/~djb/docs/smtplf.html.
in the maillogs of one of our servers.

Although I see quite a few of them from other IPs (look like commercial mailers/spammers), I'm seeing most of them in conjuction from mail from Hotmail IPs.

The curious thing is that when I send email via a hotmail webmail account, or via Live Mail (which uses the same range of IPs when sending), the emails come through perfectly. In other words I can't reproduce it.

Has anyone else noticed an increase in these in their logs? Has Hotmail done something stupid? I can't imagine they would be sending bare LFs randomly. I suppose it could be a timeout rather than a bare LF, but again, how could that be happening with hotmail?

I can't, for various unimportant reasons, install spamdyke (which fixes any bare LFs) on this particular machine, unfortunately.

Faris.

Re: Bare LFs from hotmail (qmail)

Posted: Thu Oct 01, 2009 8:10 am
by faris
Oh, problem solved using fixiocr:

http://forum.parallels.com/showthread.php?t=94222

Scott, this is probably worth adding to the ART rpm arsenal as an rpm. Very useful.

Faris.

Re: Bare LFs from hotmail (qmail)

Posted: Thu Oct 01, 2009 8:26 am
by faris
Oops. I've just seen that doing things this way screws up TLS somehow. I can't figure it out unfortunately.

EDIT: Arrgh. Seems it "just won't work" with TLS. You'd have to add DENY_TLS=1 to the env line to disable TLS. Bah!


Faris.

Re: Bare LFs from hotmail (qmail)

Posted: Thu Oct 01, 2009 9:26 am
by scott
are you serious, TLS with hotmail is the problem?

Re: Bare LFs from hotmail (qmail)

Posted: Thu Oct 01, 2009 10:12 am
by faris
No, Hotmail is sending bare LFs in messages from some of its servers. qmail rejects them. fixcrio basically adds CRs to any bare LFs, fixing the problem.

Unfortunately in doing so it breaks TLS.

So the only option is to disable TLS if you want to use fixcrio to solve the hotmail problem (and other mailers that send bare LFs, of which there are a lot, but mostly spammers).

Faris.

Re: Bare LFs from hotmail (qmail)

Posted: Thu Oct 01, 2009 11:56 am
by scott
Way to violate the SMTP standards like a spammer microsoft...

Re: Bare LFs from hotmail (qmail)

Posted: Fri Oct 02, 2009 9:53 am
by faris
There's a patch for fixcrio that bypasses the tls issue by looking out for them then not screwing things up. I've applied it and it works.

So, bottom line, if you have this problem, have a look at the Parallels forum thread mentioned in my second post, patch the .c file mentioned with the patch mentioned, install, and all will be well.

But it would be much better is Hotmail just fixed the damn problem in the first place.

Re: Bare LFs from hotmail (qmail)

Posted: Fri Oct 02, 2009 11:09 am
by scott
fixcrio is a package in what, qmail?

Re: Bare LFs from hotmail (qmail)

Posted: Fri Oct 02, 2009 7:42 pm
by faris
It appears to be part of ucspi-tcp (http://cr.yp.to/ucspi-tcp.html) which includes tcpserver itself, rblsmtpd etc.

Faris.

Re: Bare LFs from hotmail (qmail)

Posted: Sat Oct 03, 2009 10:05 am
by scott
well thats good news, I knew that sounded familiar. I maintain that for Project Gamera. It might be possible to adapt that for plesk again (I had done this before for a custom rblsmtpd)

Re: Bare LFs from hotmail (qmail)

Posted: Sat Oct 03, 2009 3:47 pm
by faris
Did the custom rblsmtp happen to log which rbl triggered the reject? If so, is there any chance of using your custom one too please?

Re: Bare LFs from hotmail (qmail)

Posted: Sun Oct 04, 2009 5:02 pm
by scott
Yes it does, its the same one we use in project gamera now.

Re: Bare LFs from hotmail (qmail)

Posted: Wed Mar 21, 2012 8:52 am
by laughingbuddha
I've just had a customer of mine email me saying he is getting this error message in Outlook when replying to emails.

"Your outgoing (SMTP) e-mail server has reported an internal error. If you continue to receive this message, contact your server administrator or Internet service provider (ISP). The server responded: 451 See http://pobox.com/~djb/docs/smtplf.html.

Strange this is I've never seen this error before on my server, so my question is, has an update come down the pipe recently that may have caused this to happen?

Re: Bare LFs from hotmail (qmail)

Posted: Wed Mar 21, 2012 9:40 am
by faris
I hope not. There was a Microsoft update on Tuesday but I've not had any reports of issues. Everything certainly works with Outlook 2010. Not sure about earlier versions.

Re: Bare LFs from hotmail (qmail)

Posted: Wed Mar 21, 2012 10:53 am
by laughingbuddha
It is a strange one. I'm monitoring it for now, see what happens, but if anyone has any idea that would be cool.