Tokens
You can use the following tokens in your LDAP queries:
- {a} username@domainname
- {d} domain
- {dn} distinguished name
- {g} group name
- {u} user name
- {f} MAILFROM: address
Note | The {f} token is
valid in acceptance queries only.
|
For example, you might use the following query to accept mail for an Active Directory LDAP server: (|(mail={a})(proxyAddresses=smtp:{a}))
Note | We strongly
recommend using the Test feature of the LDAP page (or the
test subcommand of the
ldapconfig command) to test all queries you
construct and ensure that expected results are returned before you enable LDAP
functionality on a listener. See the
Testing LDAP Queries for
more information.
|