Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2021-12-11 11:52:23 +0300
committerAleksander Machniak <alec@alec.pl>2021-12-11 11:52:23 +0300
commit7b81a71393b084776fbd3653a8a639938bd0b961 (patch)
tree70a32aa711f8f74bc49a4de0acf3da94c447d6f2 /config
parent20a108e1c1699289fbfaa332180e3f68bcf8a67c (diff)
Don't use TLS by default (#8359)
Also unify the common code with a new rcube_utils::parse_host_uri() method
Diffstat (limited to 'config')
-rw-r--r--config/config.inc.php.sample4
-rw-r--r--config/defaults.inc.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/config/config.inc.php.sample b/config/config.inc.php.sample
index e4581cb18..4f00ef84a 100644
--- a/config/config.inc.php.sample
+++ b/config/config.inc.php.sample
@@ -29,11 +29,11 @@ $config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
// IMAP host chosen to perform the log-in.
// See defaults.inc.php for the option description.
-$config['imap_host'] = 'tls://localhost:143';
+$config['imap_host'] = 'localhost:143';
// SMTP server host (for sending mails).
// See defaults.inc.php for the option description.
-$config['smtp_host'] = 'tls://localhost:587';
+$config['smtp_host'] = 'localhost:587';
// SMTP username (if required) if you use %u as the username Roundcube
// will use the current username for login
diff --git a/config/defaults.inc.php b/config/defaults.inc.php
index 74e8a6b24..35936c9ac 100644
--- a/config/defaults.inc.php
+++ b/config/defaults.inc.php
@@ -145,7 +145,7 @@ $config['redis_debug'] = false;
// For example %n = mail.domain.tld, %t = domain.tld
// WARNING: After hostname change update of mail_host column in users table is
// required to match old user data records with the new host.
-$config['imap_host'] = 'tls://localhost:143';
+$config['imap_host'] = 'localhost:143';
// IMAP authentication method (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or null).
// Use 'IMAP' to authenticate with IMAP LOGIN command.
@@ -268,7 +268,7 @@ $config['messages_cache_threshold'] = 50;
// For example %n = mail.domain.tld, %t = domain.tld
// To specify different SMTP servers for different IMAP hosts provide an array
// of IMAP host (no prefix or port) and SMTP server e.g. ['imap.example.com' => 'smtp.example.net']
-$config['smtp_host'] = 'tls://localhost:587';
+$config['smtp_host'] = 'localhost:587';
// SMTP username (if required) if you use %u as the username Roundcube
// will use the current username for login