Hello,
I can't seem to specify nexthop and transport so that nexthop depends on
recipient and transport depends on sender.
According to the manpage of transport(5)
...
When no transport is specified, Postfix uses the transport that
matches the address domain class (see DESCRIPTION above). The
following sends all mail for example.com and its subdomains to
hostgateway.example.com:
example.com :[gateway.example.com]
.example.com :[gateway.example.com]
And from the manpage of postconf(5)
sender_dependent_default_transport_maps
...
Note: this overrides default_transport, not transport_maps
So when a specific ":[gateway.example.com]" is returned from the
transport_maps lookup, sender_dependent_default_transport_maps lookup has
no effect. The only case when sender_dependent_default_transport_maps
overrides default_transport is when transport_maps does not return a
value.
It'd be nice if transport could be enforced when transport_maps returns
just nexthop and no transport and sender_dependent_default_transport_maps
returns transport but no nexthop, but according to the manpages it is not
supported. Or is there a way to achieve that transport and nexthop are set
separatedly?
Best regards,
Jozsef
--
E-mail : [email protected], [email protected],
[email protected]
Address: Wigner Research Centre for Physics
H-1525 Budapest 114, POB. 49, Hungary
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]