>> I would like to force my Postfix SMTP server to disconnect from
>> time to time, in order to prevent its clients from reusing the
>> same connection for too long or for too many transactions.
>
> If you want to hang up a connection then you need an smtpd
> policy daemon that sends a 421 reply.

Would such a policy force Postfix to *close* that particular socket?

I don't want to force a retry at the client side, I want to force
the client to stop reusing the connection and open a new one from
time to time. Ideally after a max number of messages, if not possible
after a TTL for the connection between the SMTP client and Postfix.

I found this other parameter in the documentation:
http://www.postfix.org/postconf.5.html#smtpd_policy_service_max_ttl

My understanding is that this TTL refers to the connection between
smtpd and the policy server, not between smtpd and the SMTP client.

Thank you,


Diego

Reply via email to