1
0
mirror of https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git synced 2025-03-15 02:18:28 +01:00
pvv-nixos-config/base/services/postfix.nix
2024-09-01 03:13:18 +02:00

23 lines
441 B
Nix

{ config, pkgs, lib, ... }:
let
cfg = config.services.postfix;
in
{
services.postfix = {
enable = true;
hostname = "${config.networking.hostName}.pvv.ntnu.no";
domain = "pvv.ntnu.no";
relayHost = "smtp.pvv.ntnu.no";
relayPort = 465;
config = {
smtp_tls_wrappermode = "yes";
smtp_tls_security_level = "encrypt";
};
# Nothing should be delivered to this machine
destination = [ ];
};
}