March 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories

March 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Dovecot can’t start with error pop3-login & imap-login not supported protocol family

vim /etc/dovecot/dovecot.conf

listen = *, ::
?
listen = *

service dovecot restart

If you see this error after Dovecot 2.0.x was installed:
Error: service(pop3-login): listen(::, 110) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(pop3-login): listen(::, 995) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(imap-login): listen(::, 143) failed: Address family not supported by protocol
Error: socket() failed: Address family not supported by protocol
Error: service(imap-login): listen(::, 993) failed: Address family not supported by protocol
Fatal: Failed to start listeners
it means that Dovecot is trying to bind to an IPv6 interface, but your system doesn’t support IPv6.  The solution is to tell Dovecot to only listen on an IPv4 interface.  You can do this by adding the following to the very top of your /etc/dovecot.conf file
listen = *
The internal default is
listen = *, ::

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>