Re: [BUG] tls_server_sni_maps parameter can't use texthash tables

2021-06-14 Thread Viktor Dukhovni
On Mon, Jun 14, 2021 at 04:57:24PM -0400, Christopher Gurnee wrote: > That was quick, thanks! Welcome to Postfix, where we don't let bugs linger and have no (need for a) bug tracking system, because there are no open bugs. Bugs are fixed in near real time, and show up in snaphots and patch relea

Re: [BUG] tls_server_sni_maps parameter can't use texthash tables

2021-06-14 Thread Wietse Venema
Christopher Gurnee: > That was quick, thanks! Well you did the work by finding the missing code in postmap.c :-) Wietse

Re: [BUG] tls_server_sni_maps parameter can't use texthash tables

2021-06-14 Thread Christopher Gurnee
That was quick, thanks! Regards, Chris On 06/14/2021 4:22 pm, Wietse Venema wrote: Wietse Venema: Christopher Gurnee: > Workaround > -- > > Use a hash table: > tls_server_sni_maps = hash:/etc/postfix/tls_server_sni > and create it with: > sudo postmap -F /etc/postfix/tls_serv

Re: [BUG] tls_server_sni_maps parameter can't use texthash tables

2021-06-14 Thread Wietse Venema
Wietse Venema: > Christopher Gurnee: > > Workaround > > -- > > > > Use a hash table: > > tls_server_sni_maps = hash:/etc/postfix/tls_server_sni > > and create it with: > > sudo postmap -F /etc/postfix/tls_server_sni > > There is some code that was added to postmap/postmap.c but

Re: [BUG] tls_server_sni_maps parameter can't use texthash tables

2021-06-14 Thread Wietse Venema
Christopher Gurnee: > Workaround > -- > > Use a hash table: > tls_server_sni_maps = hash:/etc/postfix/tls_server_sni > and create it with: > sudo postmap -F /etc/postfix/tls_server_sni There is some code that was added to postmap/postmap.c but not to util/dict_thash.c. This is a

[BUG] tls_server_sni_maps parameter can't use texthash tables

2021-06-14 Thread Christopher Gurnee
Hi, all! My apologies if I've gotten anything wrong below. Version --- 3.4.13-0ubuntu1 (from Ubuntu 20.04.2) (although I suspect this affects all versions >= 3.4) Configuration - /etc/postfix/main.cf: smtpd_tls_security_level = may tls_server_sni_maps = texthash:/etc/pos