On Mon, Jan 07, 2013 at 04:02:36PM -0500, Wietse Venema wrote: > > On Mon, Jan 07, 2013 at 04:24:20PM -0200, Rafael Azevedo - IAGENTE wrote: > > > > > I've done exactally what you said and notice that the connection > > > cache is not being used anymore. > > > > You have enabled cache-on-demand behaviour. This happens when the active > > queue contains a "backlog" of messages to the destination. If your > > input rate is sufficiently low, messages leave as quickly as they > > arrive and connections are not cached. > > Connection cache time limits are controlled by two parameters: one > in the delivery agent, and one in the scache daemon. It's the second > parameter that he is missing all the time.
Yes, but he should NOT change it. It was a sound piece of defensive programming on your part to discourage abusive configurations. Postfix should not cache idle connections to remote sites unnecessarily long, and more than 1-2 seconds is unecessarily long! Thus I am not inclined to discuss about the safety-net control. -- Viktor.