Hi,
I've installed dovecot and i'm pretty sure it has SSL support built in.
But i don't have IMAPS.
I get all sort of errors. Thunderbird tells: "The connection was refused".
If i disable imaps, imap works just fine. If i enable it, none of them work.
The certificates in /etc/ssl/certs and /etc/ssl/private are the same ?
Any help would be appreciated.
Warm Regards, Mário Gamito
## ## SSL settings ##
# IP or host address where to listen in for SSL connections. Defaults # to above if not specified. ssl_listen = *:943
# Disable SSL/TLS support. #ssl_disable = no
# PEM encoded X.509 SSL/TLS certificate and private key. They're opened before # dropping root privileges, so keep the key file unreadable by anyone but # root. Included doc/mkcert.sh can be used to easily generate self-signed # certificate, just make sure to update the domains in dovecot-openssl.cnf ssl_cert_file = /etc/ssl/certs/dovecot.pem ssl_key_file = /etc/ssl/private/dovecot.pem
# If key file is password protected, give the password here. Alternatively # give it when starting dovecot with -p parameter. #ssl_key_password = theedge
# File containing trusted SSL certificate authorities. Usually not needed. # The CAfile should contain the CA-certificate(s) followed by the matching # CRL(s). CRL checking is new in dovecot .rc1 #ssl_ca_file =
# Request client to send a certificate. #ssl_verify_client_cert = no
# How often to regenerate the SSL parameters file. Generation is quite CPU # intensive operation. The value is in hours, 0 disables regeneration # entirely. #ssl_parameters_regenerate = 168
# SSL ciphers to use #ssl_cipher_list = ALL:!LOW
# Show protocol level SSL errors. #verbose_ssl = no
## ## Login processes ##
# Directory where authentication process places authentication UNIX sockets # which login needs to be able to connect to. The sockets are created when # running as root, so you don't have to worry about permissions. Note that # everything in this directory is deleted when Dovecot is started. login_dir = /var/run/dovecot/login
On Fri, 2007-02-16 at 09:43 +0000, Mário Gamito wrote:
I get all sort of errors. Thunderbird tells: "The connection was refused".
If i disable imaps, imap works just fine. If i enable it, none of them work.
It sounds like Dovecot doesn't even start if you enable imaps. In that case it wrote an error message to its log file. See what it is. If you can't find the error, see http://wiki.dovecot.org/Logging
Also it's better to test with telnet and openssl s_client than with Thunderbird, since it could also be Thunderbird's configuration that's the problem. See http://wiki.dovecot.org/TestInstallation
Hi,
It sounds like Dovecot doesn't even start if you enable imaps. In that case it wrote an error message to its log file. See what it is. If you can't find the error, see http://wiki.dovecot.org/Logging I presume it starts, although the ctl file provided in the wiki does nothing. I start it with: $ /usr/local/sbin/dovecot &
$ ps ax /usr/local/etc/dovecot.con 5262 ? S 0:00 dovecot-auth 5314 ? S 0:00 imap-login 5316 ? S 0:00 imap-login 5326 ? S 0:00 imap-login
So, i guess it's running
Also it's better to test with telnet and openssl s_client than with Thunderbird, since it could also be Thunderbird's configuration that's the problem. See http://wiki.dovecot.org/TestInstallation Telnet says authentication failed.
I'm using qmail-ldap.
[root@mail2 config]# telnet mail2.telbit.pt 143 Trying 192.168.84.128... Connected to mail2.telbit.pt (192.168.84.128). Escape character is '^]'.
- OK Dovecot ready. O LOGIN gamito@mail2.telbit.pt zooropa O NO Authentication failed.
Any ideas ?
Warm Regards, Mário Gamito
participants (2)
-
Mário Gamito
-
Timo Sirainen