We're looking to implement SRS support along the lines of <https://www.mind-it.info/forward-postfix-spf-srs/>. The primary issue I see when looking at this is we already have sender_canonical_maps set to do an ldap lookup for supporting alias domains:

zimbra@zre-ldap002:~$ postconf sender_canonical_maps
sender_canonical_maps = proxy:ldap:/opt/zimbra/conf/ldap-scm.cf

zimbra@zre-ldap002:~$ more /opt/zimbra/conf/ldap-scm.cf
server_host = ldap://zre-ldap002.eng.zimbra.com:389
server_port = 389
search_base =
query_filter = (&(|(zimbraMailDeliveryAddress=%s)(zimbraMailAlias=%s)(zimbraMailCatchAllAddress=%s))(zimbraMailStatus=enabled)) result_attribute = zimbraMailCanonicalAddress,zimbraMailCatchAllCanonicalAddress
version = 3
start_tls = yes
tls_ca_cert_dir = /opt/zimbra/conf/ca
bind = yes
bind_dn = uid=zmpostfix,cn=appaccts,cn=zimbra
bind_pw = xxxxx
timeout = 30

So I'm not sure how to get this lookup to succeed AND have it then go through SRS. Is something like:

sender_canonical_maps = proxy:ldap:/opt/zimbra/conf/ldap-scm.cf, lmdb:/etc/postfix/pfix-no-srs.cf, tcp:127.0.0.1:10001

Workable?

Thanks!

--Quanah

--

Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Reply via email to