User Tools

Site Tools


ldap:postfix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ldap:postfix [2016/11/11 14:33] – created peterldap:postfix [2019/11/30 13:44] (current) – removed peter
Line 1: Line 1:
-====== LDAP - Postfix ====== 
- 
-<file bash main.cf> 
-# SASL - connection to Dovecot. 
-smtpd_sasl_auth_enable = yes 
-smtpd_sasl_type = dovecot 
-smtpd_sasl_path = /var/run/dovecot/auth-client 
- 
-# Aliases LDAP 
-alias_maps = ..., ldap:/etc/postfix/aliases-ldap.cf 
-</file> 
- 
-The Aliases user is kept in the attribute mail (class inetOrgPerson). 
- 
-<file bash aliases-ldap.conf> 
-server_host = ldapi:// 
-bind = yes 
-bind_dn = uid=postfix,ou=System,dc=example,dc=com 
-bind_pw = haslo 
-version = 3 
- 
-search_base = dc=example,dc=com 
-query_filter = (|(mail=%s@example.con)(mail=%s)) 
-result_attribute = uid 
-</file> 
- 
  
ldap/postfix.1478874816.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki