postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: transport vs. relayhost

Re: transport vs. relayhost

From: Noel Butler <noel.butler_at_nospam>
Date: Wed Oct 13 2010 - 22:24:38 GMT
To: "Jay G. Scott" <gl@arlut.utexas.edu>, postfix-users@postfix.org

On Wed, 2010-10-13 at 14:37 -0500, Jay G. Scott wrote:

> Let me take a step back. Let us say that my
> main.cf looks like this:
>
> # i don't do local delivery on this machine, so:
> mydestination =
> #
> relayhost = outgo.arlut.utexas.edu
> transport_map = hash:/etc/postfix/transport
>

^^^^^^^^^^^
transport_maps = NOTE the "S"

> and transport looks like this:
>
> blarg.arlut.utexas.edu smtp:[blarg.arlut.utexas.edu]
>

looks good

> If I send mail to someone@example.com, transport shouldn't
> get involved, right? Or, maybe the map is consulted but
> since there's nothing for example.com in there, it doesn't
> act on it. The transport_map parameter doesn't
> turn off relayhost entirely, does it? example.com should
> honor relayhost's value. Right?
>

no it doesn't, transport_maps bypasses relayhost, which is the default
fallback for everyone else

Cheers