nixbld: attempt to work around 'PHP Error: Invalid compose ID' roundcube bug

This commit is contained in:
Sébastien Bourdeauducq 2025-01-08 22:11:32 +08:00
parent 3f33c1c980
commit 18bc04b419

View File

@ -1305,10 +1305,12 @@ in
services.roundcube = { services.roundcube = {
enable = true; enable = true;
hostName = "mail.m-labs.hk"; hostName = "mail.m-labs.hk";
# https://github.com/roundcube/roundcubemail/issues/5869
extraConfig = '' extraConfig = ''
$config['smtp_server'] = "tls://${config.mailserver.fqdn}"; $config['smtp_server'] = "tls://${config.mailserver.fqdn}";
$config['smtp_user'] = "%u"; $config['smtp_user'] = "%u";
$config['smtp_pass'] = "%p"; $config['smtp_pass'] = "%p";
$config['session_storage'] = "php";
''; '';
}; };