OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: SMTP gateway and multiple delivery hosts. Am I crazy?

From: Sandy Drobic (postfix-usersjapantest.homelinux.com)
Date: Mon Dec 17 2007 - 04:30:44 CST


Mark Krenz wrote:

> domain to a delivery host, but that's not what I want to do. I want to
> be able to say infoexample.com goes to delivery host 1 and
> fredexample.com goes to delivery host 2. Plus I need to make sure that
> when someone on host 1 sends mail to fredexample.com that it goes to
> host 2 and doesn't try to be delivered to host 1.
>
> Is this even possible? Any suggestions or documents that you can
> point me too? I have this mostly configured and working but I'm running
> into issues sending between host 1 and 2. It tries to deliver it
> locally.

man 5 transport

Postfix can route user-specific.

/etc/postfix/transport:
user1example.com smtp:[host1.example.com]
user2example.com smtp:[host2.example.com]
example.com smtp:[host3.example.com]

Please be aware that the transport table is very sensitive to delays and
MUST be available for Postfix to work. If you decide to use a database to
store the transport information make sure the database is responsive and
stable.

--
Sandy

List replies only please!
Please address PMs to: news-reply2 () japantest (.) homelinux (.) com