diff options
author | ene <ene@sils.li> | 2023-03-18 16:54:20 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-18 16:54:20 +0100 |
commit | 6ba9c1452144b327963c9f0ae57ec5662b4f6ec1 (patch) | |
tree | 4181dcc92952672454e2b0115dfc86765ce7fbe2 | |
parent | Fix(system/mail): Disable protocols with STARTTLS (diff) | |
download | nixos-server-6ba9c1452144b327963c9f0ae57ec5662b4f6ec1.tar.gz nixos-server-6ba9c1452144b327963c9f0ae57ec5662b4f6ec1.zip |
Fix(system/mail): Make extraVirtualAliases fairer
-rw-r--r-- | system/mail/default.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/system/mail/default.nix b/system/mail/default.nix index 6fe82fd..67531af 100644 --- a/system/mail/default.nix +++ b/system/mail/default.nix @@ -1,5 +1,11 @@ # vim: ts=2 -{...}: { +{...}: let + all_admins = [ + "sils@vhack.eu" + "soispha@vhack.eu" + "nightingale@vhack.eu" + ]; +in { enable = true; fqdn = "server1.vhack.eu"; domains = ["vhack.eu"]; @@ -23,9 +29,9 @@ }; extraVirtualAliases = { - "abuse@vhack.eu" = ["sils@vhack.eu"]; - "postmaster@vhack.eu" = ["sils@vhack.eu"]; - "admin@vhack.eu" = ["sils@vhack.eu"]; + "abuse@vhack.eu" = all_admins; + "postmaster@vhack.eu" = all_admins; + "admin@vhack.eu" = all_admins; }; sieveDirectory = "/srv/mail/sieve"; |