Starting Dovecot Imap: Error: socket() failed: Address family not supported by protocol

 

Если при запуске dovecot получаете  ошибку Address family not supported by protocol:

 

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

Нужно в файле /etc/dovecot.conf (/etc/dovecot/dovecot.conf) указать интерфейс как *:

listen = *