How do I configure Postfix with Lightweight Directory Access Protocol (LDAP)?

Updated -

This article assumes you have Postfix and OpenLDAP installed and running.

This will get Postfix talking to LDAP and allow for mail lookups to search through your current LDAP.

  1. Open /etc/postfix/main.cf and search for :

    
     alias_maps = hash:/etc/postfix/aliases
     
    

    This should be changed to include LDAP in mail alias...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content