fix: remove roundcube config
This commit is contained in:
parent
d9d28d23cf
commit
e01c469319
1 changed files with 0 additions and 23 deletions
|
@ -131,33 +131,10 @@
|
|||
"${cfg.sub}.${cfg.domain}" = {
|
||||
forceSSL = true;
|
||||
useACMEHost = "skynet";
|
||||
enableACME = false;
|
||||
serverName = "${cfg.sub}.${cfg.domain}";
|
||||
};
|
||||
};
|
||||
|
||||
#https://nixos-mailserver.readthedocs.io/en/latest/add-roundcube.html
|
||||
users.groups.nginx = {};
|
||||
services.roundcube = {
|
||||
enable = true;
|
||||
database.username = "roundcube";
|
||||
# this is the url of the vhost, not necessarily the same as the fqdn of
|
||||
# the mailserver
|
||||
hostName = "${cfg.sub}.${cfg.domain}";
|
||||
extraConfig = ''
|
||||
# starttls needed for authentication, so the fqdn required to match
|
||||
# the certificate
|
||||
$config['smtp_server'] = "tls://${cfg.sub}.${cfg.domain}";
|
||||
$config['smtp_user'] = "%u";
|
||||
$config['smtp_pass'] = "%p";
|
||||
'';
|
||||
};
|
||||
# systemd.services.dovecot2.serviceConfig = {
|
||||
# # restart it daily, override default values
|
||||
# Restart = lib.mkForce "always";
|
||||
# RestartSec = lib.mkForce "1d";
|
||||
# };
|
||||
|
||||
mailserver = {
|
||||
enable = true;
|
||||
fqdn = "${cfg.sub}.${cfg.domain}";
|
||||
|
|
Loading…
Reference in a new issue