Bernhard Schmidt
2008-Mar-08 11:51 UTC
[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 at 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 at 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 at vs02:~# telnet 127.0.0.1 110 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused root at 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 at 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 at 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 at 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 at 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
Timo Sirainen
2008-Mar-08 12:00 UTC
[Dovecot] IPv6-enabled dovecot-1.1rc* does not accept IPv4-connections
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 = [::], * -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080308/ee6bce66/attachment-0002.bin>
Bernhard Schmidt
2008-Mar-08 12:05 UTC
[Dovecot] IPv6-enabled dovecot-1.1rc* does not accept IPv4-connections
Timo Sirainen <tss at 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 at vmail.mail.mucip.net>, orig_to=<berni at 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