-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IMAPS not working with letsencrypt #126
Comments
Seems like a duplicate of #72. Please check if setting the |
I either don't know how to implement the said fixes or it doesn't work. What I did:
*added include(DIR . '/customcfg.inc.php'); to config.inc.php Before that I tried adding these lines in the config.docker.inc.php to at least temporary get the effect |
Any Ideas? |
The example from issue #72 is incorrect. It should be |
Does not change anything. Still doesn't work |
Hello? |
I don't thing it's the certificate the problem. The default auth method used by RoundCube is DIGEST-MD5, not PLAIN (as you seem to do). I did a pull request that helps tweaking this as I had the same issue, but for LOGIN method. |
The error message says "Could not connect to mail.example.de:143: Connection refused". The connection to the IMAP server fails on transport layer level and it doesn't even reach the point where a login attempt (with whatever method) is made. FWIW: if |
Colleagues, is there a solution to this problem? On client On server |
Any thoughts on this? |
@AlexanderZhirov i gave up and was searched for an alternative. Maybe have a look at open exchange. Its better than roundcube anyway |
I think that the solution to this problem has little effort. All the same, it is massive. Why hasn't it been eliminated? |
Had the same problem when connecting to my local server with self-signed certificate (with mismatching domain 😅). I managed to get around with this config. I don't recommend to use it in production though. $config['imap_conn_options'] = [
'ssl' => [
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true,
],
'tls' => [
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true,
],
];
$config['smtp_conn_options'] = [
'ssl' => [
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true,
],
'tls' => [
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true,
],
]; |
Closing since it's old. Also, in #237 there's a fresher claim that this doesn't work (currently not reproducible for me). |
I set everything up without any SSL configured on the mail server side and the roundcube side. After getting this to work i switched the mail server to use letsencrypt certificates. So i changed the roundcube config as well but i can't login in via roundcube anymore.
My Mail Server is functioning since its working in thunderbird. The thunderbird settings are these:
IMAP:
Port 143 STARTTLS
SMTP:
Port 25 STARTTLS
The auth type is Passwort, normal
Knowing that these settings work i did this to the roundcube docker-compose file:
when i try to login i get the following error:
roundcubemail | errors: <60a672ec> IMAP Error: Login failed for [email protected] against mail.example.de from 172.21.0.1(X-Forwarded-For: XXX.XXX.XXX.XXX). Could not connect to mail.example.de:143: Connection refused in /var/www/html/program/lib/Roundcube/rcube_imap.php on line 200 (POST /?_task=login&_action=login)
I have no idea why this isnt working since it was in plaintext and it still does using mail clients.
The text was updated successfully, but these errors were encountered: