Postfix forwarder otherMailbox ldap search
-
Hi there,
When I do LDAP searches for valid recipients in postfix forwarder, it is only searching the mail field and skipping otherMailboxes (for email aliases).
Is this something I can manually configure somewhere as I have a number of people with email aliases and I'd hate to have to add them into a separately maintained text file.
I found an article on how Zafara is doing it:
For lookups of mail aliases create the file /etc/postfix/ldap-aliases.cf and add the following lines:
server_host = 192.168.0.100
search_base = ou=Users,dc=example,dc=local
version = 3
bind = yes
bind_dn = cn=zarafa,ou=Users,dc=example,dc=local
bind_pw = secret
scope = sub
query_filter = (&(objectClass=person)(otherMailbox=%s))
result_attribute = mailBut I can't find anything on how I can achieve it with PFSense?
Any help would be appreciated