ldap:postfix
Differences
This shows you the differences between two versions of the page.
ldap:postfix [2016/11/11 14:33] – created peter | ldap: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 = / | ||
- | |||
- | # Aliases LDAP | ||
- | alias_maps = ..., ldap:/ | ||
- | </ | ||
- | |||
- | 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, | ||
- | bind_pw = haslo | ||
- | version = 3 | ||
- | |||
- | search_base = dc=example, | ||
- | query_filter = (|(mail=%s@example.con)(mail=%s)) | ||
- | result_attribute = uid | ||
- | </ | ||
- | |||
ldap/postfix.1478874816.txt.gz · Last modified: 2020/07/15 09:30 (external edit)