November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

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>