From a19ada3331d5c4e92898334618d2affa3612f853 Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 8 Jun 2023 16:46:19 +0200 Subject: [PATCH] hopefully fixes #173 --- .../olympus/mailserver/configuration.nix | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/nixos/hosts/olympus/mailserver/configuration.nix b/nixos/hosts/olympus/mailserver/configuration.nix index edce9cb..de6a879 100644 --- a/nixos/hosts/olympus/mailserver/configuration.nix +++ b/nixos/hosts/olympus/mailserver/configuration.nix @@ -27,20 +27,32 @@ in { mailserver = { enable = true; fqdn = "mail.0x76.dev"; - domains = [ "0x76.dev" "meowy.tech" ]; + domains = [ "0x76.dev" "meowy.tech" "xirion.net" ]; certificateScheme = "acme-nginx"; + enableManageSieve = true; loginAccounts = { # People "v@0x76.dev" = { hashedPasswordFile = "${vs.mailserver}/v@0x76.dev"; - aliases = - [ "v@meowy.tech" "postmaster@0x76.dev" "postmaster@meowy.tech" ]; + catchAll = [ "xirion.net" "0x76.dev" ]; + aliases = [ + "postmaster@0x76.dev" + "abuse@0x76.dev" + + "v@meowy.tech" + "abuse@meowy.tech" + "postmaster@meowy.tech" + + "@xirion.net" + "@0x76.dev" + ]; }; "laura@meowy.tech" = { hashedPasswordFile = "${vs.mailserver}/laura@meowy.tech"; aliases = [ "lau@meowy.tech" ]; }; + # Services "gitea@0x76.dev" = { hashedPasswordFile = "${vs.mailserver}/gitea@0x76.dev"; @@ -82,6 +94,7 @@ in { pkgs.roundcube.withPlugins (plugins: [ plugins.persistent_login ]); plugins = [ "archive" + "managesieve" # "enigma" # "markasjunk" "persistent_login"