[fmt]
This commit is contained in:
parent
2e3fedc93e
commit
7912b4a8cf
1 changed files with 11 additions and 11 deletions
|
@ -125,17 +125,17 @@
|
||||||
|
|
||||||
#https://nixos-mailserver.readthedocs.io/en/latest/add-roundcube.html
|
#https://nixos-mailserver.readthedocs.io/en/latest/add-roundcube.html
|
||||||
services.roundcube = {
|
services.roundcube = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# this is the url of the vhost, not necessarily the same as the fqdn of
|
# this is the url of the vhost, not necessarily the same as the fqdn of
|
||||||
# the mailserver
|
# the mailserver
|
||||||
hostName = "${cfg.sub}.${cfg.domain}";
|
hostName = "${cfg.sub}.${cfg.domain}";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# starttls needed for authentication, so the fqdn required to match
|
# starttls needed for authentication, so the fqdn required to match
|
||||||
# the certificate
|
# the certificate
|
||||||
$config['smtp_server'] = "tls://${cfg.sub}.${cfg.domain}";
|
$config['smtp_server'] = "tls://${cfg.sub}.${cfg.domain}";
|
||||||
$config['smtp_user'] = "%u";
|
$config['smtp_user'] = "%u";
|
||||||
$config['smtp_pass'] = "%p";
|
$config['smtp_pass'] = "%p";
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
# systemd.services.dovecot2.serviceConfig = {
|
# systemd.services.dovecot2.serviceConfig = {
|
||||||
# # restart it daily, override default values
|
# # restart it daily, override default values
|
||||||
|
|
Loading…
Reference in a new issue