diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/30IMAP smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/30IMAP --- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/30IMAP 2015-04-01 20:05:54.000000000 -0400 +++ smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/30IMAP 2022-08-01 23:08:33.766000000 -0400 @@ -33,7 +33,13 @@ // 'cafile' => '/etc/openssl/certs/ca.crt', // ), // ); -$config['imap_conn_options'] = null; +$config['imap_conn_options'] = array( + 'ssl' => array( + 'verify_peer' => true, + 'allow_self_signed' => true, + 'peer_name' => '{$DomainName}', + ), + ); // IMAP connection timeout, in seconds. Default: 0 (use default_socket_timeout) $config['imap_timeout'] = 0; diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/40SMTP smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/40SMTP --- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/40SMTP 2022-08-01 22:58:42.295000000 -0400 +++ smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/40SMTP 2022-08-01 23:09:56.844000000 -0400 @@ -12,7 +12,7 @@ // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part) // %z - IMAP domain (IMAP hostname without the first part) // For example %n = mail.domain.tld, %t = domain.tld - {$OUT .= " \$config['smtp_server'] = 'ssl://localhost';\n";} + {$OUT .= " \$config['smtp_server'] = 'tls://localhost';\n";} // SMTP port (default is 25; use 587 for STARTTLS or 465 for the // deprecated SSL over SMTP (aka SMTPS)) @@ -58,5 +58,12 @@ // 'cafile' => '/etc/openssl/certs/ca.crt', // ), // ); -$config['smtp_conn_options'] = null; +$config['smtp_conn_options'] = array( + 'ssl' => array( + 'verify_peer' => false, + 'allow_self_signed' => true, + 'peer_name' => '{$DomainName}', + ), + ); + diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/95PLUGINS smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/95PLUGINS --- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/95PLUGINS 2015-04-01 20:05:54.000000000 -0400 +++ smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/95PLUGINS 2022-08-01 23:08:34.033000000 -0400 @@ -14,6 +14,9 @@ { use esmith::ConfigDB; my $DB = esmith::ConfigDB->open_ro; my $plugins = $DB->get_prop('roundcube','PluginsList') || ""; + my @plugs = split(',',$plugins); + s/^(.*)$/"\1"/ for @plugs; + $plugins = join(',',@plugs); $OUT .= "\$config['plugins'] = array($plugins);"; }