External postfix authentication to Zimbra LDAP

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
saifulslm09
Advanced member
Advanced member
Posts: 80
Joined: Sat Feb 04, 2023 4:40 pm
ZCS/ZD Version: 8.8.15.GA.4179.UBUNTU20.64

External postfix authentication to Zimbra LDAP

Post by saifulslm09 »

I am trying to install an external postfix server to do SMTP authentication over SASL+LDAP to Zimbra LDAP. This postfix server will act as a relay server and only authenticate users in Zimbra LDAP.

Any advice or any reference link would be appreciated.

I have following setup:

Code: Select all

sudo cat /etc/postfix/sasl/smtpd.conf
pwcheck_method: saslauthd
mech_list: plain login

Code: Select all

sudo cat /etc/default/saslauthd
START=yes
MECHANISMS="ldap"
MECH_OPTIONS=""
THREADS=5

Code: Select all

sudo cat /etc/saslauthd.conf
ldap_servers: ldap://zimbra_server_hostname
ldap_search_base: dc=example,dc=com
ldap_filter: (uid=%u)
ldap_bind_dn: cn=zimbra,dc=example,dc=com
ldap_bind_pw: zimbra_ldap_password
Post Reply