Jozsef Kadlecsik via Postfix-users:
> 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]
The text about empty transport or next-hop results pre-dates the
implementation of some transport or nexthop overrides. That is a
problem: when adding something one has to find every piece of
documentaion that may be affected.
Text that needs to be added to the descriptions of transport_maps:
When no transport is specified, Postfix uses the transport that
matches the address domain class (see DESCRIPTION above), or
the transport specified with default_transport or with
sender_dependent_default_transport_maps.
When no nexthop is specified, Postfix uses the recipient domain,
or the nexthop specified with the transport for the address
domain class, with default_transport, with
sender_dependent_default_transport_maps, or with relayhost.
The exact order of the wording needs to be verified.
Simlar text is needed for default_transport, and
sender_dependent_default_transport_maps.
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]