forked from nyanloutre/nixos-config
mail-server: configuration postfix serveur relai
This commit is contained in:
parent
a630b1a58c
commit
5a6a41fe2d
@ -52,6 +52,15 @@ in
|
|||||||
enableManageSieve = true;
|
enableManageSieve = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.postfix = {
|
||||||
|
relayHost = "mailvps.nyanlout.re";
|
||||||
|
relayPort = 587;
|
||||||
|
config = {
|
||||||
|
smtp_tls_cert_file = lib.mkForce "/var/lib/postfix/postfixrelay.crt";
|
||||||
|
smtp_tls_key_file = lib.mkForce "/var/lib/postfix/postfixrelay.key";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
security.acme.certs = {
|
security.acme.certs = {
|
||||||
"${cfg.domaine}" = {
|
"${cfg.domaine}" = {
|
||||||
extraDomains = {
|
extraDomains = {
|
||||||
|
Loading…
Reference in New Issue
Block a user