Diego Liziero: > Yes, definitely. > > > Postfix reports a broken connection as coming from "localhost" only > > when the kernel reports an errno of ENOTSOCK. > > Forgive me if I'm asking something you might have already answered, > is it easy to change the wrong error message for this case to > something that could point the user to the fact that the socket > disappeared before postfix could serve it?
By definition, a non-error result from accept(2) is a socket. Reporting ENOTSOCK on such sockets is a kernel bug. Postfix receives legitimate mail submissions via non-socket inputs, and those submissions must not be reported as coming from "unknown". Wietse