mirror of
https://github.com/lldap/lldap.git
synced 2026-03-31 15:07:48 +01: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.
|
You also need to change your ldap filter for emails.
|
||||||
```toml
|
```toml
|
||||||
[directory.ldap.filter]
|
[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