[Dovecot] Error: socket() failed: Protocol not supported ERROR in dovecot-1.0.beta9
I'm trying to get IMAPS working with dovecot-1.0.beta9. I'm building it on a Solaris 10 box, with openssl-0.9.8b installed. Here is the results of my ./configure:
Install prefix ...................... : /usr/local/dovecot-1.0.beta9 File offsets ........................ : 64bit I/O loop method ..................... : poll File change notification method ..... : none Building with SSL support ........... : yes (OpenSSL) Building with IPv6 support .......... : yes Building with pop3 server ........... : yes Building with GSSAPI support ........ : no Building with user database modules . : static prefetch passwd passwd-file checkpassword (modules) Building with password lookup modules : passwd passwd-file shadow pam checkpassword (modules) Building with SQL drivers ............:
I've attached a copy of my dovecot.conf file (striped of comments).
When I try running dovecot I get the following error:
Error: socket() failed: Protocol not supported
Fatal: listen(993) failed: Protocol not supported
When I change ssl_disable = no to ssl_disable = yes, everything works.
Anyone have any suggestions?
Cheers Jeff
protocols = imap imaps listen = * disable_plaintext_auth = no log_path = /var/log/dovecot ssl_disable = no ssl_cert_file = /usr/local/ssl/certs/Imaging_Dovecot_cert.pem ssl_key_file = /usr/local/ssl/private/Imaging_Dovecot_key.pem ssl_parameters_regenerate = 168 verbose_ssl = yes default_mail_env = maildir:%h/.email protocol imap { } protocol pop3 { } protocol lda { postmaster_address = postmaster@example.com } auth default { mechanisms = plain digest-md5 cram-md5 passdb pam { args = dovecot }
userdb passwd { }
user = root } plugin { }
On 2006-06-13 16:41:37 -0400, Jeff Gardiner wrote:
Building with IPv6 support .......... : yes [snip] Error: socket() failed: Protocol not supported Fatal: listen(993) failed: Protocol not supported
try with configure --disable-ipv6 and ssl enabled
darix
-- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
Building with IPv6 support .......... : yes
[snip]
Error: socket() failed: Protocol not supported Fatal: listen(993) failed: Protocol not supported
try with configure --disable-ipv6 and ssl enabled
Same thing's happening to me:
Install prefix ...................... : /usr/local File offsets ........................ : 64bit I/O loop method ..................... : poll File change notification method ..... : none Building with SSL support ........... : yes (OpenSSL) Building with IPv6 support .......... : no Building with pop3 server ........... : yes Building with GSSAPI support ........ : yes Building with user database modules . : static prefetch passwd passwd-file checkpassword ldap sql (modules) Building with password lookup modules : passwd passwd-file shadow pam checkpassword ldap sql (modules) Building with SQL drivers ............: mysql
# /usr/local/sbin/dovecot Error: socket() failed: Protocol not supported Fatal: listen(993) failed: Protocol not supported
Jack Bailey wrote:
Building with IPv6 support .......... : yes
[snip]
Error: socket() failed: Protocol not supported Fatal: listen(993) failed: Protocol not supported
try with configure --disable-ipv6 and ssl enabled
Same thing's happening to me:
[snip]
# /usr/local/sbin/dovecot Error: socket() failed: Protocol not supported Fatal: listen(993) failed: Protocol not supported
I had the same issue, and adding:
ssl_listen = *:993
to dovecot.conf solved it for me. This wasn't necessary in 1.0b7, but appears to be necessary in 1.0b8 and above. I didn't do to much digging to see what the root cause was, but the above line solved the problem for me!
ScottE
I tried both solutions that were recommended: i. to compile with the --disable-ipv6 tag set. ii. to insert ssl_listen = *:993 into the dovecot.conf file.
Using --disable-ipv6 didn't seem to fix it, however the second suggestion DID WORK for me. Thanks very much.
A third suggestion was made to run dovecot in strace. I haven't done this yet, but may, once I am finished upgrading my email service.
Cheers Jeff
Scott Ellis wrote:
Jack Bailey wrote:
Building with IPv6 support .......... : yes
[snip]
Error: socket() failed: Protocol not supported Fatal: listen(993) failed: Protocol not supported
try with configure --disable-ipv6 and ssl enabled
Same thing's happening to me:
[snip]
# /usr/local/sbin/dovecot Error: socket() failed: Protocol not supported Fatal: listen(993) failed: Protocol not supported
I had the same issue, and adding:
ssl_listen = *:993
to dovecot.conf solved it for me. This wasn't necessary in 1.0b7, but appears to be necessary in 1.0b8 and above. I didn't do to much digging to see what the root cause was, but the above line solved the problem for me!
ScottE
On Wed, 2006-06-14 at 09:50 -0400, Jeff Gardiner wrote:
I tried both solutions that were recommended: i. to compile with the --disable-ipv6 tag set. ii. to insert ssl_listen = *:993 into the dovecot.conf file.
Using --disable-ipv6 didn't seem to fix it, however the second suggestion DID WORK for me. Thanks very much.
A third suggestion was made to run dovecot in strace. I haven't done this yet, but may, once I am finished upgrading my email service.
I've already received a patch to fix this problem, so no need for anyone to debug it more.
participants (5)
-
Jack Bailey
-
Jeff Gardiner
-
Marcus Rueckert
-
Scott Ellis
-
Timo Sirainen