search for: host_r

Displaying 1 result from an estimated 1 matches for "host_r".

Did you mean: host_
2018 Jan 15
0
doveadm mailbox command fails if backend has an IPv6 address
...S Connection ! -------------- next part -------------- --- dovecot-2.2.33.2/src/doveadm/doveadm-mail-server.c.orig 2017-10-05 19:09:55.000000000 +0200 +++ dovecot-2.2.33.2/src/doveadm/doveadm-mail-server.c 2018-01-15 21:59:08.897161000 +0100 @@ -249,7 +249,10 @@ } ret = -1; } else { - *host_r = t_strdup_printf("%s:%u", proxy_host, proxy_port); + if (is_ipv6_address(proxy_host) && *proxy_host != '[') + *host_r = t_strdup_printf("[%s]:%u", proxy_host, proxy_port); + else + *host_r = t_strdup_printf("%s:%u", proxy_host, proxy_port);...