[Dovecot] IPv6-enabled dovecot-1.1rc* does not accept IPv4-connections
Hi,
I'm having a really really strange problem. After upgrading from 1.1.beta13 to 1.1.rc2 (happened with rc1 as well IIRC) I can't connect to the services using IPv4 anymore. dovecot happily binds to the IPv6 wildcard socket which should accept IPv4 connections as well.
root@vs02:~# netstat -lnp --tcp | grep dovecot tcp6 0 0 :::993 :::* LISTEN 30758/dovecot tcp6 0 0 :::995 :::* LISTEN 30758/dovecot tcp6 0 0 :::110 :::* LISTEN 30758/dovecot tcp6 0 0 :::143 :::* LISTEN 30758/dovecot root@vs02:~# telnet ::1 110 Trying ::1... Connected to ::1. Escape character is '^]'. +OK Dovecot ready. quit +OK Logging out Connection closed by foreign host. root@vs02:~# telnet 127.0.0.1 110 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused root@vs02:~# /sbin/stop dovecot dovecot (stop) running, process 30758 dovecot (stop) pre-stop, (main) process 30758 dovecot (stop) stopping, process 30758 dovecot (stop) killed, process 30758 dovecot (stop) post-stop dovecot (stop) waiting
# downgrading root@vs02:~# dpkg -i dovecot_1.1.beta13-1_amd64.deb dpkg - warning: downgrading dovecot from 1.1.rc2-1 to 1.1.beta13-1. (Reading database ... 20504 files and directories currently installed.) Preparing to replace dovecot 1.1.rc2-1 (using dovecot_1.1.beta13-1_amd64.deb) ... Unpacking replacement dovecot ... Setting up dovecot (1.1.beta13-1) ... Installing new version of config file /etc/dovecot/dovecot-sql-example.conf ... Installing new version of config file /etc/dovecot/dovecot-ldap-example.conf ... Installing new version of config file /etc/dovecot/dovecot-example.conf ... root@vs02:~# /sbin/start dovecot dovecot (start) waiting dovecot (start) starting dovecot (start) pre-start, process 30816 dovecot (start) spawned, process 30818 dovecot (start) post-start, (main) process 30818 dovecot (start) running, process 30818 root@vs02:~# netstat -lnp --tcp | grep dovecot tcp6 0 0 :::993 :::* LISTEN 30818/dovecot tcp6 0 0 :::995 :::* LISTEN 30818/dovecot tcp6 0 0 :::110 :::* LISTEN 30818/dovecot tcp6 0 0 :::143 :::* LISTEN 30818/dovecot root@vs02:~# telnet 127.0.0.1 110 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. +OK Dovecot ready. quit +OK Logging out Connection closed by foreign host.
I built the packages myself, both (beta13 and rc2) with the options
--without-passwd --without-passwd-file --without-shadow --without-pam --without-gssapi --without-vpopmail --with-ldap --without-checkpassword --without-nss --with-deliver --with-ioloop=epoll --with-storages=maildir,raw --sysconfdir=/etc/dovecot
Anyone having an idea?
Thanks, Bernhard
On Mar 8, 2008, at 1:51 PM, Bernhard Schmidt wrote:
I'm having a really really strange problem. After upgrading from 1.1.beta13 to 1.1.rc2 (happened with rc1 as well IIRC) I can't connect to the services using IPv4 anymore. dovecot happily binds to the IPv6 wildcard socket which should accept IPv4 connections as well.
Dovecot no longer binds to both IPv6 and IPv4 using the same socket to
avoid those stupid ::ffff:1.2.3.4 mapped addresses. Use:
listen = [::], *
Timo Sirainen tss@iki.fi wrote:
I'm having a really really strange problem. After upgrading from 1.1.beta13 to 1.1.rc2 (happened with rc1 as well IIRC) I can't connect to the services using IPv4 anymore. dovecot happily binds to the IPv6 wildcard socket which should accept IPv4 connections as well. Dovecot no longer binds to both IPv6 and IPv4 using the same socket to
avoid those stupid ::ffff:1.2.3.4 mapped addresses. Use:listen = [::], *
Yes, found that two minutes after my post. Was about to formally recall my report, but now I'm hitting another issue:
Mar 8 13:02:57 vs02 deliver((null)): User request from dovecot-auth timed out Mar 8 13:02:57 vs02 postfix/pipe[30987]: 560043830E: to=berni@vmail.mail.mucip.net, orig_to=berni@birkenwald.de, relay=dovecot, delay=152, delays=4.4/87/0/60, dsn=4.3.0, status=deferred (temporary failure)
I guess I missed something else, that used to work with beta13 as well. Any hints?
Regards, Bernhard
On Sat, 2008-03-08 at 13:05 +0100, Bernhard Schmidt wrote:
Mar 8 13:02:57 vs02 deliver((null)): User request from dovecot-auth timed out
Oh, that's a new bug. This should fix it: http://hg.dovecot.org/dovecot-1.1/rev/631fd6f25e41
Timo Sirainen wrote:
Mar 8 13:02:57 vs02 deliver((null)): User request from dovecot-auth timed out Oh, that's a new bug. This should fix it: http://hg.dovecot.org/dovecot-1.1/rev/631fd6f25e41
Works, thanks a lot.
Regards, Bernhard
participants (2)
-
Bernhard Schmidt
-
Timo Sirainen