Hello,

in one of my setups I've a nontrivial transport_maps declaration.
It's a list of "inline, cdb and pipemap:{ldap static}" statements.

https://www.postfix.org/postconf.5.html#transport_maps say "Tables will be searched 
in the specified order until a match is found"
https://www.postfix.org/transport.5.html#table_search_order say "user@domain" is searched 
first, then "domain" is searched.

My intention is to have a match for a domain_a defined as 
inline:{domain_a=smtp:nexthop.for.domain_a}
The pipemap later is intended to match on domain_b, domain_c ... domain_N

Now I had to adjust the ldap map.
Unintentionally the ldap map now produce matches when queried for user@domain_a

because user@domain is queried first, a second query for "domain" only, that 
would produce the right result, does not happen.

One answer to my problem may be "rewrite all transport_maps from scratch"
But are there other options?

Andreas
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to