[Dovecot] IPv6-enabled dovecot-1.1rc* does not accept IPv4-connections
Bernhard Schmidt
berni at birkenwald.de
Sat Mar 8 13:51:00 EET 2008
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
More information about the dovecot
mailing list