Pedro David Marco via Postfix-users:
> Hi everyone,
> I'm running a Postfix server and have encountered an issue where some SMTP 
> clients (usually Amazon servers) keep their connections open even after 
> successfully sending a message. Over time, this behavior causes all available 
> smtpd connection slots (e.g., 100 concurrent connections) to be consumed, 
> preventing new connections from being accepted.

The Postfix definition of an idle connection is that the client
sends no command.

The default 'idle' timeout is:

    smtpd_timeout = ${stress?{10}:{300}}s

That means 300s by default, and only 10s under 'all ports busy' conditions.

> I have tried setting 'smtpd_timeout = 60s' but this only controls
> per-command timeouts, and it doesn't ensure disconnection after
> some idle time.

smtpd_timeout` DOES CONTROL idle connections. 

Perhaps you have a different defintion of 'idle'.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to