I have a tcp table and policy service - when i shut these down, i close each open session and unbind the listener port - for some reason postfix does not close its client connection to them for about 60sec.
Now, is there a sure way to tell postfix to disconnect from his client session? Here is a netstat output with at least 1 open client session from postfix for my tcptable service (transport map) (10028) and policy service (smtpd_recipient_restrictions) (10027) tcp 0 0 127.0.0.1:10027 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:10028 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:54751 127.0.0.1:10028 ESTABLISHED tcp 0 0 127.0.0.1:56901 127.0.0.1:10027 TIME_WAIT tcp 0 0 127.0.0.1:10028 127.0.0.1:54751 ESTABLISHED after i shutdown the server and made sure all sessions are closed im still left with this tcp 1 0 127.0.0.1:54751 127.0.0.1:10028 CLOSE_WAIT tcp 0 0 127.0.0.1:56901 127.0.0.1:10027 TIME_WAIT tcp 0 0 127.0.0.1:10028 127.0.0.1:54751 FIN_WAIT2 This might entirely the problem of my server - however im asking if there is a sure way to signal postfix to close its client sessions (i need this if i want to restart my service without restarting postfix)