On 22/12/2021 15:41, Michael Haardt via Exim-users wrote:
Yes, for the ldap lookup here, quoting should be done.
I agree. The question is how to proceed on this.
domainlist d2 = ldap;ldap::///ou=mail,dc=do,dc=main?mailDomain?sub?mailDomain=$domain
becomes
domainlist d2 =
ldap;ldap::///ou=mail,dc=do,dc=main?mailDomain?sub?mailDomain=${quote_ldap:$domain}
Nothing more complex than that.
--
Cheers,
Jeremy
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/