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.
I would like to configure Postfix to forcefully close the client connection 
after some idle time after the message is received and accepted, to avoid idle 
or persistent SMTP sessions.
I have tried settingĀ  smtpd_timeout = 60sĀ  but this only controls per-command 
timeouts, and it doesn't ensure disconnection after some idle time.
I also tried looking for a setting like smtpd_connection_idle_timeout, but I 
found that this parameter doesn't exist in Postfix.
Is there a way to tell Postfix to close the connection after some idle time?Are 
there any Postfix-native parameters or best practices for avoiding excessive 
connection persistence?
Ia have reviewed carefully thr stress=yes param, but it does not do what i 
need...
Thanks in advance!
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to