Quanah Gibson-Mount:
> 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:
...
> So I'm not sure how to get this lookup to succeed AND have it then go 
> through SRS.

I was about to suggest: 

    sender_canonical_maps = pipemap{
            proxy:ldap:/opt/zimbra/conf/ldap-scm.cf
            tcp:127.0.0.1:10001
        }

(note: the "}" must be indented).

This will produce output only when both tables in the pipemap
produce a result (addresses that are mapped with LDAP then SRS).
Otherwise it produces no result.

Is that what you need, or are both mappings optional, as in: you
map some recipients only with LDAP, some recipients with both LDAP
and SRS, and some recipients only with SRS?

        Wietse

Reply via email to