From b56eb5a1872d9dedca67d10fad0820961ed061eb Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Fri, 15 Dec 2023 22:06:04 +0100 Subject: [PATCH] That didn't work --- nixos/queen/mail-server.nix | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/nixos/queen/mail-server.nix b/nixos/queen/mail-server.nix index 9b8abaf..41fd5e3 100644 --- a/nixos/queen/mail-server.nix +++ b/nixos/queen/mail-server.nix @@ -36,6 +36,7 @@ "nextcloud.gladtherescake.eu" "akkoma.gladtherescake.eu" "social.gladtherescake.eu" + "lillianviolet.dev" ]; loginAccounts = { @@ -48,26 +49,6 @@ "no-reply@social.gladtherescake.eu" = { hashedPasswordFile = config.sops.secrets."mailpass".path; }; - }; - - rejectRecipients = [ - "no-reply@nextcloud.gladtherescake.eu" - "no-reply@akkoma.gladtherescake.eu" - "no-reply@social.gladtherescake.eu" - ]; - certificateScheme = "acme-nginx"; - }; - - mailserver = { - enable = true; - enableImap = true; - enableSubmission = true; - fqdn = "mail.lillianviolet.dev"; - domains = [ - "lillianviolet.dev" - ]; - - loginAccounts = { "info@lillianviolet.dev" = { hashedPasswordFile = config.sops.secrets."mailpass".path; aliases = [ @@ -78,6 +59,12 @@ ]; }; }; + + rejectRecipients = [ + "no-reply@nextcloud.gladtherescake.eu" + "no-reply@akkoma.gladtherescake.eu" + "no-reply@social.gladtherescake.eu" + ]; certificateScheme = "acme-nginx"; }; }