ericg
November 26, 2021, 10:55am
5
In 1.5 version, I have updated Roundcube config file to upstream. The only significant change I see is line 44 : $config['default_host'] = '%t';
instead of $config['default_host'] = 'localhost';
// Leave blank to show a textbox at login, give a list of hosts
// to display a pulldown menu or set one host as string.
// Enter hostname with prefix ssl:// to use Implicit TLS, or use
// prefix tls:// to use STARTTLS.
// Supported replacement variables:
// %n - hostname ($_SERVER['SERVER_NAME'])
// %t - hostname without the first part
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %s - domain name after the '@' from e-mail address provided at login screen
// For example %n = mail.domain.tld, %t = domain.tld
$config['default_host'] = '%t';
// SMTP server host (for sending mails).
// Enter hostname with prefix ssl:// to use Implicit TLS, or use
// prefix tls:// to use STARTTLS.
// Supported replacement variables:
// %h - user's IMAP hostname
// %n - hostname ($_SERVER['SERVER_NAME'])
// %t - hostname without the first part
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %z - IMAP domain (IMAP hostname without the first part)
The config file is located here: /var/www/roundcube/config/config.inc.php
Maybe if you change it back to localhost
instead of %t
that will fixe the issue…
I also made a branch with the change. GitHub - YunoHost-Apps/roundcube_ynh at fix
1 Like