fixed dovecot ldap

This commit is contained in:
Rouven Seifert 2023-02-15 14:40:37 +01:00
parent f9d4ef5438
commit f04eb43459
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -12,7 +12,7 @@ let
uris = ldap://localhost
dn = uid=search, ou=users, dc=ifsr, dc=de
auth_bind = yes
dnpass = $(${pkgs.coreutils}/bin/cat ${config.sops.secrets."portunus_search".path})
dnpass = $(${pkgs.coreutils}/bin/cat ${config.sops.secrets."dovecot_ldap_search".path})
ldap_version = 3
scope = subtree
@ -23,6 +23,10 @@ let
in
{
sops.secrets."rspamd-password".owner = config.users.users.rspamd.name;
sops.secrets."dovecot_ldap_search" = {
key = "portunus_search";
owner = config.services.dovecot2.user;
};
networking.firewall.allowedTCPPorts = [ 25 465 993 ];