Hi,

I still have to read your email closely and experiment, but a few
clarification questions first.

> This should work provided nothing causes the mail to take some other
> route.  The routing logic is:
>
>     1. Highest priority, any content_filter override.
>     2. Next, the transport(5) table.
>     3. Next, the address-class-specific transport, i.e.
>        relay_tansport for relay_domains, local_transport for
>        domains listed in mydestination, ...
>     4. Next, default_transport possibly sender-dependent via
>        sender_depedent_default_transport_maps.

Where would virtual_maps or virtual_alias_domains be processed?

> In addition $relayhost is the default nexthop when the default
> transport or relay_transport does not specify a nexthop.
>
> > Despite the following, mail is just completely bypassed and delivered
> > directly to the final destination outlined in
> > /etc/postfix-117/transport.
>
> See above, the transport table is the highest-precedence source
> of truth after content_filter.

If I want to use the transport table to contain the list of domains
which should be processed through amavis, should I be able to disable
the content_filter and define the domains in the transport_map like:

domain1.org    smtp-amavis:[127.0.0.1]:10024

and expect it to work properly? Is that the proper way to do it,
assuming everything else (like mydestination, etc) is configured
properly?

Reply via email to