summary refs log tree commit diff stats
path: root/system/mail/default.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-03-18 16:54:20 +0100
committerene <ene@sils.li>2023-03-18 16:54:20 +0100
commit6ba9c1452144b327963c9f0ae57ec5662b4f6ec1 (patch)
tree4181dcc92952672454e2b0115dfc86765ce7fbe2 /system/mail/default.nix
parentFix(system/mail): Disable protocols with STARTTLS (diff)
downloadnixos-server-6ba9c1452144b327963c9f0ae57ec5662b4f6ec1.tar.gz
nixos-server-6ba9c1452144b327963c9f0ae57ec5662b4f6ec1.zip
Fix(system/mail): Make extraVirtualAliases fairer
Diffstat (limited to '')
-rw-r--r--system/mail/default.nix14
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";