Hello, I can't connect to my new mail through ThunderBird and RoundCube. In RoundCube I IMAP connection error. What should I do? Thanks
Hi PetrCZE, which error do you see in the logs? - Did you change something or is this a fresh installation? Could you paste the error here? Because without logs or errors it is quite impossible to find the error... Best regards, piccolo
I think it's the /var/log/mail.log could you also check if there are other mail.* files maybe something like mail.err.
Ok, https://hastebin.com/siyigifewa.coffeescript https://hastebin.com/erelasofaf.coffeescript I changed the removed (changed) IP adresses and url adresses in logs.
It seems that you having trouble with your SSL Configuration: Code: May 27 14:48:21 hosting dovecot: imap-login: Disconnected (no auth attempts in 1 secs): user=<>, rip=85.163.18.100, lip=1.1.1.1, TLS handshaking: SSL_accept() failed: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate: SSL alert number 42, session=<D0B8oKCmsddVoxJk> May 27 14:48:35 hosting dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=85.163.18.100, lip=1.1.1.1, TLS handshaking: SSL_accept() failed: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate: SSL alert number 42, session=<goxUoaCmstdVoxJk> Witch certificate is configured in /etc/dovecot.conf ?
There is part of dovecot conf. https://hastebin.com/ucanunolix.makefile I wanna set Let's encrypt. Can it solve my problem?
This two lines should look at your letsencrypt folder: Code: ssl_cert = </etc/postfix/smtpd.cert ssl_key = </etc/postfix/smtpd.key So that they look something like this: Code: ssl_cert = /etc/letsencrypt/live/<yourdomain.tld>/cert.pem ssl_key = /etc/letsencrypt/live/<yourdomain.tld>/privkey.pem Remember that you need to get the domain name you're using (for example: mail.yourdomain.tld) has to be part of the certificate.
Now I am getting this warning (URL in log changed) Code: May 27 17:20:02 hosting postfix/smtpd[1302]: warning: No certs for key at index 1 in /etc/letsencrypt/live/mail.example.com/privkey.pem May 27 17:20:02 hosting postfix/smtpd[1302]: warning: error loading private keys and certificates from: /etc/letsencrypt/live/mail.example.com/privkey$ M and this error Code: hosting dovecot: imap([email protected]): Error: Invalid settings in userdb: userdb returned 0 as uid
It looks like that the certificate files don't exist. Does this folder /etc/letsencrypt/live/mail.example.com/ exist and are there the needed files? Did you create the [email protected] mailbox?
This thread is in ISPConfig 2 forum. Is it really the case you are using that old version of ISPConfig Panel? If not: https://www.howtoforge.com/community/threads/please-read-before-posting.58408/
Could you provide the following: Code: ls -la /etc/letsencrypt/live/mail.example.com/ and a snippet of your dovecot.conf
Added, but still getting this warning. Code: May 28 22:46:49 hosting postfix/smtpd[1006]: warning: No certs for key at index 1 in /etc/letsencrypt/live/mail.example.xyz/privkey.pem May 28 22:46:49 hosting postfix/smtpd[1006]: warning: error loading private keys and certificates from: /etc/letsencrypt/live/mail.example.xyz/privkey.pem: disabling TLS support Thanks.