mirror of
https://github.com/lldap/lldap.git
synced 2026-04-05 14:48:10 +00:00
chore: Better example config
This commit is contained in:
committed by
nitnelave
parent
3a26d2ec4c
commit
9fb252759a
@@ -55,5 +55,6 @@ If you want to enable [email aliases](https://stalw.art/docs/mta/inbound/rcpt/#c
|
||||
You also need to change your ldap filter for emails.
|
||||
```toml
|
||||
[directory.ldap.filter]
|
||||
email = "(&(objectclass=person)(|(mail=?)(mailAlias1=?)(mailAlias2=?)(mailAliasN=?)))"
|
||||
# Add one clause per alias attribute you created (example: mailAlias1..mailAlias3)
|
||||
email = "(&(objectclass=person)(|(mail=?)(mailAlias1=?)(mailAlias2=?)(mailAlias3=?)))"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user