Hello,
Relevant config parameters:
parent_domain_matches_subdomains =
relay_domains = hash:some_relay_domains_map
relay_relayhost = [a.b.c.d]
some_relay_domains_map contain:
xxx.com x
yyy.com x
aaa.xxx.com x
bbb.yyy.com x
symptom:
messages for xxx.com and yyy.com are correctly relayed to [a.b.c.d]
messages for aaa.xxx.com and bbb.yyy.com are tried to be delivered
directly to the MX of aaa.xxx.com and bbb.yyy.com.
Workaround:
With a transport map, I force these subdomains to be routed to [a.b.c.d]:
aaa.xxx.com relay:[a.b.c.d]
bbb.yyy.com relay:[a.b.c.d]
Note: using simply "aaa.xxx.com relay:" or "bbb.xxx.com relay:" in
the transport map is not sufficient witch seems to imply that the
problem is not the selection of the right transport but that
"relay_relayhost = [a.b.c.d]" is ignored in the subdomain case.
Is this an expected behavior ? or a bug ?
It reminds me a previous discussion but I could not find it in my mail
archives.
I use Postfix 2.5.4.
I checked all release notes and changelog of newer version but did not
find any relevant changes.
Best regards,
Emmanuel.