I recently upgraded Roundcube and now I get a 504 Gateway Time-out message when I try to login to Roundcube Webmail.
These are the only settings I changed in the Roundcube config.inc.php file:
$config['imap_host'] = '127.0.0.1:993';
// Required if you're running PHP 5.6 or later
$config['imap_conn_options'] = array (
'ssl' => array (
'verify_peer' => true,
'verify_depth' => 3,
'catfile' => '/etc/ssl/certs/ca-certificates.crt',
),
);
I have no idea how to fix this, so any help would be greatly appreciated.
Thanks
May be need: ssl://localhost:993 ?? with prefix SSL
default.conf.inc.php - full config with examples
Quote from: Dmitry42 on March 11, 2023, 09:27:51 AM
May be need: ssl://localhost:993 ?? with prefix SSL
default.conf.inc.php - full config with examples
Thanks for taking the time to reply to my post.
So I changed the line of code and it now looks like this:
$config['imap_host'] = 'ssl://localhost:993';
Unfortunately, its now saying "Connection to storage server failed".
Do you know what additional problems could be causing this?
I got it working with the following settings:
$config['imap_host'] = 'ssl://127.0.0.1:993';
// Required if you're running PHP 5.6 or later
$config['imap_conn_options'] = array (
'ssl' => array (
'verify_peer' => true,
'verify_peer_name' => false,
'verify_depth' => 3,
'catfile' => '/etc/letsencrypt/live/mail.myserver.com/cert.pem',
),
);
I'm not sure if this is the correct way to do it, but it's working...