>Matus UHLAR - fantomas:
>> does prefix ".domain" apply for smtp_connection_cache_destinations?
>> (debian's 3.5.6 doesn't seem to accept that).
On 05.04.22 10:26, Wietse Venema wrote:
>Is it documented to support this?
>
>What is documented is that smtp_connection_cache_destinations
>supports type:name tables so you could specify a pcre: or regexp:
>map.
Matus UHLAR - fantomas:
I was curious if this option supports (could support) subdomain/subnet
matching like access tables do.
On 05.04.22 11:10, Wietse Venema wrote:
It makes sense for queries with a domain name, but that is not the
case here. smtp_connection_cache_destinations is queried with the
next-hop destination, which can include [] and :port information.
in my case the recipient domains as long as destination servers are in the
same subdomain, so it would help me.
I understand that this is unique (border) case so my mail was more a
question than a request.
smtp_connection_cache_destinations enables connection caching
*unconditionally* for the named destinations. This means it keeps
a connection open for several seconds even when the destination has
no email in the active queue.
I think that you can stick with the default settings, which
keep connections open only when they can be reused immediately.
this unfortunately did not work without listing destinations explicitly in
smtp_connection_cache_destinations so I had big backlog of messages for
those domains, even if I set smtp_connection_cache_time_limit=30 and
enabled smtp_tls_connection_reuse...
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Christian Science Programming: "Let God Debug It!".