Dovecot fails to start: Address family not supported by protocol

Created:

2016-12-12 03:45:50 UTC

Modified:

2017-08-08 13:36:25 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Dovecot fails to start: Address family not supported by protocol

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

Dovecot fails to start with the following error:

# /etc/init.d/dovecot start
Starting Dovecot Imap: Error: socket() failed: Address family not supported by protocol
Error: service(managesieve-login): listen(::, 4190) failed: Address family not supported by protocol
Error: socket() failed: 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
[FAILED]

The error can also be found in /var/log/maillog

Cause

Dovecot is configured to listen to IPv4 and IPv6 interfaces by default, but there are no IPv6 interfaces on the server.

Resolution

  1. Add
    listen = *

in the beginning of the main Dovecot configuration file /etc/dovecot/dovecot.conf

  1. Start Dovecot:
    # /etc/init.d/dovecot start
Have more questions? Submit a request
Please sign in to leave a comment.