On Tue, Apr 05, 2022 at 04:37:29PM +0200, Matus UHLAR - fantomas wrote:
> >Why DISABLE on-demand connection caching?
>
> I was under impression that disabling caching on demand turns is on by
> default.
That's not the case, it just disables demand caching.
> and having it on by default requires putting kind of wildcard into
> smtp_connection_cache_destinations.
If you want to enable caching for all destinations regardless of
low/intermittent traffic that makes caching pointless, then you
can set:
smtp_connection_cache_destinations = static:all
but there's little reason to do this globally. Perhaps on an inbound
relay that sends everything to a small set of internal servers it is
easier to say "static:all", rather than list the nexthop hosts/domains,
but demand caching is generally sufficient.
--
Viktor.