roundcube / roundcubemail

The Roundcube Webmail suite
https://roundcube.net
GNU General Public License v3.0
5.94k stars 1.65k forks source link

make installer set correct config for SSL/STARTTLS automaticly #9721

Open Benman2785 opened 2 days ago

Benman2785 commented 2 days ago

Prerequisites

Describe the issue

took me 1h at 2:00 am to figure out i have to MANUALLY set stuff in the config for SSL/STARTTLS to work...

i used ssl:// or-and tls:// for both hostnames -> i wasnt able to connect to imap or smtp please make the installer set this automaticly

to work correctly you need to add this to your config:

// IMAP authentication method (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or null). // Use 'IMAP' to authenticate with IMAP LOGIN command. // By default the most secure method (from supported) will be selected. $config['imap_auth_type'] = 'LOGIN';

// Required if you're running PHP 5.6 or later $config['imap_conn_options'] = array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, ), );

AND

// SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use // best server supported one) $config['smtp_auth_type'] = 'LOGIN';

// Required if you're running PHP 5.6 or later $config['smtp_conn_options'] = array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, ), );

What browser(s) are you seeing the problem on?

Firefox

What version of PHP are you using?

8.4

What version of Roundcube are you using?

1.6.9

JavaScript errors

-- none needed --

PHP errors

-- none needed --

alecpl commented 1 day ago

There could be a checkbox to check in the Installer, but I don't think ignoring certificate validation issues is a good default.