Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Postfix forwarder otherMailbox ldap search

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 675 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mightymouse2045
      last edited by

      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 = mail

      But I can't find anything on how I can achieve it with PFSense?

      Any help would be appreciated

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.