From 6ba9c1452144b327963c9f0ae57ec5662b4f6ec1 Mon Sep 17 00:00:00 2001 From: ene Date: Sat, 18 Mar 2023 16:54:20 +0100 Subject: Fix(system/mail): Make extraVirtualAliases fairer --- system/mail/default.nix | 14 ++++++++++---- 1 file 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"; -- cgit 1.4.1