[Dovecot] "listen=*, ::" broken?

Timo Sirainen tss at iki.fi
Wed Aug 4 17:51:39 EEST 2010


On Wed, 2010-08-04 at 16:47 +0200, Peer Heinlein wrote:
> Restarting mail server: dovecotError: service(imap-login): listen(::, 
> 143) failed: Address already in use
..
> But it's working with "listen = *":
> 
> root at mail-archiv:/etc/dovecot# doveconf  | grep ^listen
> listen = *
> root at mail-archiv:/etc/dovecot# /etc/init.d/dovecot restart
> Restarting mail server: dovecot.

Does "listen = *" also make it listen on IPv6? Sounds like you've
enabled some "IPv6 binds listen for IPv4 too" feature. What OS is this?
Does compiling this program give the "blah" error on your system?

#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>

#ifdef IPV6_V6ONLY
#  error blah
#endif




More information about the dovecot mailing list