[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Postfix



Hi
I had a small problem with postfix, so I asked on the postfix-users-list 
and it looks like the problem is caused by a small bug in OpenBSD.
I'm not sure if that's correct, so I'm just forwarding Wietse's answer

----------  Forwarded Message  ----------

Subject: Re: Connection abort
Date: Thu, 4 Jul 2002 18:09:54 -0400 (EDT)
From: wietse@porcupine.org (Wietse Venema)
To: Fridtjof Busse <fridtjof.busse@gmx.de>
Cc: postfix-users@postfix.org

Fridtjof Busse:
> Hi
> Just got an strange error im postfix-log:
>
> Jul  4 11:56:55 camelot postfix/smtpd[8680]: warning: accept:
> Software caused connection abort

This error is reported on some operating systems that destroy a socket
when the client closes the connection before the server accept()s it.

It's only a warning. I will remove it, because Postfix recovers
from such conditions just fine, and the paranoia serves no useful
purpose.

> It's a single entry, no connection before or after that log-entry,
> just this message.
> I have no idea what that means.
> Source-install of postfix 1.1.11 (chrooted) on OpenBSD 3.1/i386
> stable with all patches applied.
> Something like the FreeBSD 4.2-bug?

Different people re-invent the same problem all the time.  Old BSD
code had graceful close(), that is, data written successfully was
not thrown away when close() happened before accept().

	Wietse

-------------------------------------------------------

-- 
Fridtjof Busse
I never think of the future. It comes soon enough.  - Albert Einstein