forked from wurzel/fruitbasket
catting out the password doesn't work
This commit is contained in:
parent
f04eb43459
commit
593c324210
3 changed files with 8 additions and 9 deletions
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue