diff -urN 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 2023-10-31 11:43:00.847154529 +0000 +++ smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/30IMAP 2023-10-31 11:47:06.045881463 +0000 @@ -14,10 +14,10 @@ // 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. - {$OUT .= " \$config['default_host'] = 'ssl://$DomainName';\n";} + {$OUT .= " \$config['imap_host'] = 'ssl://$DomainName:$imaps{TCPPort}';\n";} // TCP port used for IMAP connections -{$OUT .= " \$config['default_port'] = $imaps{TCPPort};\n";} +//{$OUT .= " \$config['default_port'] = $imaps{TCPPort};\n";} // IMAP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or null to use // best server supported one) diff -urN 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 2023-10-31 11:43:00.848154532 +0000 +++ smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/40SMTP 2023-10-31 12:04:49.628881200 +0000 @@ -12,11 +12,12 @@ // %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'] = 'tls://localhost';\n";} + {$OUT .= " \$config['smtp_host'] = 'tls://localhost:$qpsmtpd{'TCPPort'}';\n";} + // SMTP port (default is 25; use 587 for STARTTLS or 465 for the // deprecated SSL over SMTP (aka SMTPS)) - {$OUT .= "\$config['smtp_port'] = $qpsmtpd{'TCPPort'};\n";} +// {$OUT .= "\$config['smtp_port'] = $qpsmtpd{'TCPPort'};\n";} // SMTP username (if required) if you use %u as the username Roundcube // will use the current username for login diff -urN smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/80ADDRESSBOOKS_SETTINGS smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/80ADDRESSBOOKS_SETTINGS --- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/80ADDRESSBOOKS_SETTINGS 2015-04-02 01:05:54.000000000 +0100 +++ smeserver-roundcube-1.2/root/etc/e-smith/templates/etc/roundcubemail/config.inc.php/80ADDRESSBOOKS_SETTINGS 2023-10-31 11:49:14.303261701 +0000 @@ -14,8 +14,8 @@ // In order to enable public ldap search, configure an array like the Verisign // example further below. if you would like to test, simply uncomment the example. // Array key must contain only safe characters, ie. a-zA-Z0-9_ - $config['ldap_public']['Local_LDAP'] = array('hosts' => array('localhost'), - 'port' => 389, + $config['ldap_public']['Local_LDAP'] = array('hosts' => array('localhost:389'), + { $OUT .= " 'base_dn' \=\> " ."'". esmith::util::ldapBase($DomainName)."',"; }