I recently installed the Roundcube app from the marketplace, it has been running great for the last few weeks with no issues. Today, I'm unable to login. I'm greeted with a "Connection to storage server failed" error. I checked the server logs to find this:
/var/log/messages
Mar 7 11:58:09 server01 roundcube: <hjkr94j1> IMAP Error: Login failed for user01 from 172.16.5.6. Could not connect to ssl://localhost:993: Unknown reason in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 193 (POST /webmail/?_task=login&_action=login)
/var/log/maillog
Mar 7 11:57:12 server01 imaps[30235]: Fatal error: tls_start_servertls() failed
Mar 7 11:58:09 server01 imaps[30237]: imaps TLS negotiation failed: localhost [127.0.0.1]
The strange thing is, both my phone app and Thunderbird can connect just fine using TLS. This issue just happened out of the blue, uninstalling / re-installing app makes no difference.
Any ideas?
/var/log/messages
Mar 7 11:58:09 server01 roundcube: <hjkr94j1> IMAP Error: Login failed for user01 from 172.16.5.6. Could not connect to ssl://localhost:993: Unknown reason in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 193 (POST /webmail/?_task=login&_action=login)
/var/log/maillog
Mar 7 11:57:12 server01 imaps[30235]: Fatal error: tls_start_servertls() failed
Mar 7 11:58:09 server01 imaps[30237]: imaps TLS negotiation failed: localhost [127.0.0.1]
The strange thing is, both my phone app and Thunderbird can connect just fine using TLS. This issue just happened out of the blue, uninstalling / re-installing app makes no difference.
Any ideas?
Share this post:
Responses (4)
-
Accepted Answer
I also found that post but as you hadn't had any updates I don't know why you'd need those changes. I'm on Business so my updates are behind yours, but I have nothing like that in my config.inc.php. Can you just check your yum.log and also give the result of "rpm -qa | grep ^roundc"? I have "roundcubemail-1.2.3-3.v7.noarch".
[edit]
Was your $config['default_host'] localhost or ssl://localhost?
[/edit] -
Accepted Answer
I figured it out after running across a similar issue here:
https://bbs.archlinux.org/viewtopic.php?id=187063
I added the following to my config.inc.php file.
$config['imap_conn_options'] = array(
'ssl' => array(
'verify_peer' => false,
'verfify_peer_name' => false,
),
);
I also had to change the 'default_host' from "localhost" to: "ssl://localhost.localdomain"
$config['default_host'] = 'ssl://localhost.localdomain';
Seems to be working just fine now. -
Accepted Answer
-
Accepted Answer

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »