Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2007 11:58:28 +0200
From:      "n j" <nino80@gmail.com>
To:        "Oliver Peter" <hoschi@mouhaha.de>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: postfix question
Message-ID:  <92bcbda50704250258l7735cb39t2713d33b358de0e5@mail.gmail.com>
In-Reply-To: <20070425085313.GK1322@nemesis.frida.mouhaha.de>
References:  <92bcbda50704250027m721e7115p4a30eff3a282946c@mail.gmail.com> <20070425085313.GK1322@nemesis.frida.mouhaha.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Oliver,

> Would it help to pimp your transport map?
>
> #        In the case of delivery via SMTP, one  may  specify  host-
> #        name:service instead of just a host:
> #
> #             example.com      smtp:bar.example:2025
>
> You can replace bar.example with the IP address of the other
> interface.

The way I understand, transport map selects messages based on
recipient's address or domain. In the above example, only messages
destined for example.com would get routed through the right interface.
Once messages end up in the queue, qmgr uses trivial-rewrite to
resolve recipient's address and selects a transport based on that. Or
am I wrong?

I need to route messages based on either sender's address/domain (this
would suffice) or incoming interface (better).

Thanks for the suggestion anyway!

-- 
Nino



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92bcbda50704250258l7735cb39t2713d33b358de0e5>