Thanks very much for the reply. I think my root difficulty was understanding 
the hierarchy behind forwarding rules (in this specific case; between relay and 
transport related parameters / tables). Your examples put me onto 
http://www.postfix.org/transport.5.html which gave me a much better idea of the 
order of precedence and which parameters win out over which in the event of a 
conflict.


Thanks again,


Scott


________________________________
From: owner-postfix-us...@postfix.org <owner-postfix-us...@postfix.org> on 
behalf of Wietse Venema <wie...@porcupine.org>
Sent: May 28, 2020 11:53 AM
To: Postfix users <postfix-users@postfix.org>
Subject: Re: Relationship between relay and transport

Scott A. Wozny:
> In the standard config on an email gateway in
> (http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall) the
> proposed config has relay_domains set for example.com and
> transport_maps set to a hash with example.com using
> smtp:[inside-gateway.example.com].

This would
- Deliver example.com to the inside host.
- Deliver other domains to the outside network.

> My question is, how is this functionally different from setting
> relayhost to [inside-gateway.example.com]?

This would
- Deliver example.com to the inside host.
- Deliver other domains to the inside host.

So they do different things for other domains.

        Wietse

Reply via email to