mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-12-06 02:56:26 +01:00
base/postfix: migrate config to new format
This commit is contained in:
parent
e9bebc8119
commit
d666aa6c33
@ -6,18 +6,17 @@ in
|
|||||||
services.postfix = {
|
services.postfix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
hostname = "${config.networking.hostName}.pvv.ntnu.no";
|
settings.main = {
|
||||||
domain = "pvv.ntnu.no";
|
myhostname = "${config.networking.hostName}.pvv.ntnu.no";
|
||||||
|
mydomain = "pvv.ntnu.no";
|
||||||
|
|
||||||
relayHost = "smtp.pvv.ntnu.no";
|
# Nothing should be delivered to this machine
|
||||||
relayPort = 465;
|
mydestination = [ ];
|
||||||
|
|
||||||
|
relayhost = [ "smtp.pvv.ntnu.no:465" ];
|
||||||
|
|
||||||
config = {
|
|
||||||
smtp_tls_wrappermode = "yes";
|
smtp_tls_wrappermode = "yes";
|
||||||
smtp_tls_security_level = "encrypt";
|
smtp_tls_security_level = "encrypt";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Nothing should be delivered to this machine
|
|
||||||
destination = [ ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user