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

transport vs. relayhost

From: Jay G. Scott <gl_at_nospam>
Date: Wed Oct 13 2010 - 19:37:34 GMT
To: postfix-users@postfix.org

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

and transport looks like this:

blarg.arlut.utexas.edu smtp:[blarg.arlut.utexas.edu]

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?

Don't confuse this with my earlier post. I'm investigating
that as well. But everything I read doesn't directly address
the above question. Am I to understand that transport_map=value
existing at all means relayhost=value is ignored? Because
that doesn't seem natural to me. Relayhost ought to be honored
when the transport_map is irrelevant -- well, that's what
I've been expecting. Is that part of what I'm doing wrong?

j.

-- Jay Scott 512-835-3553 gl@arlut.utexas.edu Head of Sun Support, Sr. System Administrator Applied Research Labs, Computer Science Div. S224 University of Texas at Austin