Gerben Wierda:
> I have the following problem. postfix is running as expected, but
> at some point it becomes inoperable on port 25 listening for
> incoming connections. Using a telnet connection to port 25 just
> gives no reply and times out.

Possibilities:

- Something is blocking the TCP/IP handshake, perhaps a dynamic
firewalling rule that expires. New connection requests time out.

- The Postfix master daemon no longer receives notification that a
connection is established, and not-yet-accepted connections accumulate
inside the kernel. After a while the kernel queue for such connections
is full, and new connections requests will time out.

I recall that MacOS for the longest time had a broken kqueue(2) 
implementation before Darwin 12.

The relevant section in the makedefs script:

                # kqueue works in Mac OS X 10.8 (Darwin 12).
                case $RELEASE in
            ?.*|1[0-1].*) CCARGS="$CCARGS -DNO_KQUEUE";;
                esac

Which means that your old Postfix was built with kqueue support
disabled, and your new Postfix tries to use kqueue().

kqueue() is a more scalable alternative to poll() and select().
It was introduced into the BSD family ~20 years ago.

Try building with 

    make makefiles CCARGS="-DNO_KQUEUE ..."

If that solves the problem then I'll update makedefs again.

        Wietse

Reply via email to