Dovecot Error

I am trying to enable dovecot in a CentOS 6.6 Virtualmin installation on a VPS (GoDaddy).

While starting Dovecot I got the following error: [ service dovecot start

Starting Dovecot Imap: 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]

[root@s104-238-96-121 hostlawn]# which doveconf ]

Appreciate help.

Status: 
Active

Comments

Howdy -- is this after a fresh install of the OS and Virtualmin?

Also, what is the output of this command:

dovecot -n

bislinks's picture
Submitted by bislinks on Tue, 07/07/2015 - 11:17 Pro Licensee

Yes Sir, it is a fresh install of the OS and Virtualmin.

# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-042stab094.7 x86_64 CentOS release 6.6 (Final)
auth_mechanisms = plain login
disable_plaintext_auth = no
mail_location = maildir:~/Maildir
mbox_write_locks = fcntl
passdb {
  driver = pam
}
protocols = imap pop3
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  driver = passwd
}
protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
}

Try editing your /etc/dovecot.conf file, and there, add this line:

listen = *

Then, restart Dovecot:

service dovecot restart

Does it start up at that point?

bislinks's picture
Submitted by bislinks on Tue, 07/07/2015 - 11:25 Pro Licensee

Yes it did!

bislinks's picture
Submitted by bislinks on Tue, 07/07/2015 - 11:30 Pro Licensee

One more related query/support:

Getting this error while enabling "mail Relay": [Failed to save enabled features : The plugin Mail Relay cannot be used : The Postfix configuration does not have any Transport Mapping tables defined]

We're happy to help with your other issue! Could you open a new request for that though? That will help us keep the various topics separate. Thanks!

bislinks's picture
Submitted by bislinks on Tue, 07/07/2015 - 11:49 Pro Licensee

Sure and thanks!