From 63aaeec08cc603903e4fc4a4296fcef9a7d378b9 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Wed, 15 Dec 2021 17:42:47 +0300 Subject: [PATCH] Remove PAM from mailserver and remove catchall --- mailserver/system/mailserver.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mailserver/system/mailserver.nix b/mailserver/system/mailserver.nix index 222e11c..bd269e0 100644 --- a/mailserver/system/mailserver.nix +++ b/mailserver/system/mailserver.nix @@ -13,11 +13,6 @@ in }) ]; - services.dovecot2 = { - enablePAM = lib.mkForce true; - showPAMFailure = lib.mkForce true; - }; - users.users = { virtualMail = { isNormalUser = false; @@ -34,7 +29,6 @@ in loginAccounts = { "${cfg.username}@${cfg.domain}" = { hashedPassword = cfg.hashedMasterPassword; - catchAll = [ cfg.domain ]; sieveScript = '' require ["fileinto", "mailbox"]; if header :contains "Chat-Version" "1.0" @@ -49,7 +43,6 @@ in name = "${user.username}@${cfg.domain}"; value = { hashedPassword = user.hashedPassword; - catchAll = [ cfg.domain ]; sieveScript = '' require ["fileinto", "mailbox"]; if header :contains "Chat-Version" "1.0"