[pfx] behavior of smtp_connection_cache_destinations

2023-03-25 Thread Amit Gupta via Postfix-users
According to https://www.postfix.org/CONNECTION_CACHE_README.html#implementation there are "two connection caching strategies". Are smtp_connection_cache_on_demand and smtp_connection_cache_destinations mutually exclusive? ie, if I enable smtp_connection_cache_destinations, does the on_demand

[pfx] connection_cache_ttl_limit

2023-03-25 Thread Amit Gupta via Postfix-users
Hi, Is there any reason for smtp_connection_cache_time_limit to be set differently than connection_cache_ttl_limit? It seems like cache TTL would be limited by whichever one of these parameters is lower. Is this a correct understanding? I was reading the CONNECTION_CACHE_README and it says the f

[pfx] smtp_connection_cache_on_demand and "high volume"

2023-03-26 Thread Amit Gupta via Postfix-users
Hello, according to the docs, when there is a "high volume" of mail in the active queue, then a connection is added to the cache, How is "high volume" determined? Below is the quote from the documentation: "On-demand connection caching. This is enabled by default, and is controlled with the smt

[pfx] max_use and smtp connection cache

2023-03-28 Thread Amit Gupta via Postfix-users
Is there any relation between max_use and the smtp connection cache? I read the documentation for max_use (default: 100) and was unclear what it means when it's "ignored by the Postfix queue manager and by other long-lived Postfix daemon processes". Could you give some examples of where max_use w