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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.