From 4945efdea778eed882e0a27aa811f2ff9107505c Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Wed, 15 Feb 2023 15:14:57 +0100 Subject: [PATCH] fixed dovecot ldap queries --- modules/mail.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/mail.nix b/modules/mail.nix index d39c2da..df0e1cb 100644 --- a/modules/mail.nix +++ b/modules/mail.nix @@ -17,8 +17,8 @@ let ldap_version = 3 scope = subtree base = dc=ifsr, dc=de - user_filter = (&(ou=mail)(uid=%n)) - pass_filter = (&(ou=mail)(uid=%n)) + user_filter = (&(objectClass=posixAccount)(uid=%n)) + pass_filter = (&(objectClass=posixAccount)(uid=%n)) ''; in {