Skip to content
Snippets Groups Projects
Commit ed23544f authored by ale's avatar ale
Browse files

Prevent dovecot logins while host != originalHost

parent 20c4304c
No related branches found
No related tags found
1 merge request!58Prevent access to mailboxes while they are being moved
Pipeline #5730 passed
...@@ -3,7 +3,7 @@ dovecot: ...@@ -3,7 +3,7 @@ dovecot:
- backend: ldap - backend: ldap
params: params:
search_base: "uid=%s,ou=People,dc=investici,dc=org,o=Anarchy" search_base: "uid=%s,ou=People,dc=investici,dc=org,o=Anarchy"
search_filter: "(status=active)" search_filter: "(&(status=active)(host={{ shard_id }})(originalHost={{ shard_id }}))"
scope: "base" scope: "base"
attrs: attrs:
email: uid email: uid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment