catting out the password doesn't work

This commit is contained in:
Rouven Seifert 2023-02-15 14:47:14 +01:00
parent f04eb43459
commit 593c324210
Signed by untrusted user: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
3 changed files with 8 additions and 9 deletions

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."dovecot_ldap_search".path})
!include ${config.sops.secrets."dovecot_ldap_search".path}
ldap_version = 3
scope = subtree
@ -23,10 +23,7 @@ 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;
};
sops.secrets."dovecot_ldap_search".owner = config.services.dovecot2.user;
networking.firewall.allowedTCPPorts = [ 25 465 993 ];