Control: retitle -1 dovecot-core: IPv6 addresses in brackets no longer accepted
Control: tags -1 + pending upstream

Hi,

On Thu, 16 May 2013 16:19:50 +0200 Olaf Zaplinski <o...@zaplinski.de> 
wrote:
> Package: dovecot-core
> Version: 1:2.1.7-7
> Severity: normal
> Tags: ipv6
> 
> Dear Maintainer,
> 
> since the upgrade from Debian 6 to 7, dovecot no lomger accepts IPv6 
> addresses:
> 
> # /etc/init.d/dovecot restart
> [....] Restarting IMAP/POP3 mail server: dovecotFatal: service(imap-login) 
> Can't resolve address [::1]: Name or service not known
> 
> This is the 'wrong' entry from my old config:
> address = 127.0.0.1, [::1]
> 
> When I change that line to
> address = ip6-localhost, localhost
> 
> everything is fine. Funny is the fact that [::] is accepted, see below.

Indeed, IPv6 addresses in brackets are not accepted until 2.2.20 (see 
[1]). However, IPv6 addresses *without* brackets should work:

  address = 127.0.0.1, ::1

[::] works because it is explicitly searched for in the configuration 
parser.

[1] 
https://github.com/dovecot/core/commit/a03a29b0b12b9a071995a7e94e74c46c993d5013

Regards,
Apollon

Reply via email to