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
Submitted by andreychek on Tue, 07/07/2015 - 11:13 Comment #1
Howdy -- is this after a fresh install of the OS and Virtualmin?
Also, what is the output of this command:
dovecot -n
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
}
Submitted by andreychek on Tue, 07/07/2015 - 11:21 Comment #3
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?
Yes it did!
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]
Submitted by andreychek on Tue, 07/07/2015 - 11:40 Comment #6
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!
Sure and thanks!