mail: add roundcube
This commit is contained in:
parent
8c0b90451b
commit
fc76860cb8
|
@ -95,10 +95,6 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
portunus.addToHosts = true;
|
|
||||||
|
|
||||||
postfix.mapFiles."valias" = lib.mkForce "/home/root/valias";
|
|
||||||
|
|
||||||
nginx = {
|
nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
commonHttpConfig = /* nginx */ ''
|
commonHttpConfig = /* nginx */ ''
|
||||||
|
@ -121,6 +117,21 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
portunus.addToHosts = true;
|
||||||
|
|
||||||
|
postfix.mapFiles."valias" = lib.mkForce "/home/root/valias";
|
||||||
|
|
||||||
|
roundcube = {
|
||||||
|
enable = true;
|
||||||
|
hostName = config.mailserver.fqdn;
|
||||||
|
extraConfig = /* php */ ''
|
||||||
|
# starttls needed for authentication, so the fqdn required to match the certificate
|
||||||
|
$config['smtp_server'] = "tls://${config.mailserver.fqdn}";
|
||||||
|
$config['smtp_user'] = "%u";
|
||||||
|
$config['smtp_pass'] = "%p";
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user