From 99e9b6c519671a3cb0dbe38c803ebd1068693d8b Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 30 Sep 2023 18:17:24 -0700 Subject: [PATCH] Well what the fuck then --- dovecot.nix | 5 ----- mail-server.nix | 1 - postfix.nix | 5 ----- 3 files changed, 11 deletions(-) diff --git a/dovecot.nix b/dovecot.nix index 4483e6f..7d978f1 100644 --- a/dovecot.nix +++ b/dovecot.nix @@ -362,11 +362,6 @@ in { } home=${cfg.state-directory}/mail/%u } - userdb { - driver = ldap - args = ${cfg.ldap-conf} - } - service imap { vsz_limit = 1024M } diff --git a/mail-server.nix b/mail-server.nix index 4ac4c78..01525ff 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -210,7 +210,6 @@ in { "auth_bind_userdn = cn=%u,${cfg.ldap.member-ou},${cfg.ldap.base}" "base = ${cfg.ldap.base}" "user_filter = (&(objectClass=organizationalPerson)(cn=%n))" - "pass_filter = (&(objectClass=organizationalPerson)(cn=%n))" ]); target-file = "/run/dovecot-secret/ldap.conf"; }; diff --git a/postfix.nix b/postfix.nix index f4bd48f..8fa2924 100644 --- a/postfix.nix +++ b/postfix.nix @@ -205,11 +205,6 @@ in { args = ${cfg.ldap-conf} } - userdb { - driver = ldap - args = ${cfg.ldap-conf} - } - service auth { unix_listener auth { mode = 0600