Hello,

Is there a way to convert ldap lookup result to lowercase?

I am using this config:


# cat ldap_relay_recipient_maps.cf
server_host = 192.168.1.1
search_base = OU=Users,OU=Domain,DC=abc,DC=local

bind_dn = abc\abc
bind_pw = abc
query_filter = (proxyAddresses=smtp:%s)
result_attribute = mail

# cat main.cf
...
local_recipient_maps = ldap:/usr/local/etc/postfix/ldap_relay_recipient_maps.cf
...

Testing with postmap
# postmap -q [email protected] ldap:/usr/local/etc/postfix/ldap_relay_recipient_maps.cf
[email protected]


# postmap -q [email protected] ldap:/usr/local/etc/postfix/ldap_relay_recipient_maps.cf
[email protected]


Response is not converted to lowercase. It is returned in exact form as it is in directory resulting in lookup mismatch.


$ postconf mail_version
mail_version = 3.9

BR,

Guntis


_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to