From: Eero Volotinen on
Quoting Dhiraj Chatpar <dchatpar(a)gmail.com>:

> I believe there is an option within postfix too to achieve this?

As far as I known, postfix only supports one relayhost plus backup host.

--
Eero

From: Barney Desmond on
2009/11/19 Dhiraj Chatpar <dchatpar(a)gmail.com>:
> I believe there is an option within postfix too to achieve this?

I'm fairly sure there's not. If you don't like the idea of using
iptables, the alternative would be a customised DNS entry for your
relayhost.

Create a "virtual" relayhost A-record (eg. relayhost.mydomain.com)
that returns multiple IP addresses, this will produce a rudimentary
form of round-robin. Then just set relayhost=relayhost.mydomain.com in
main.cf

From: Dhiraj Chatpar on
What do you think about this?? will this work?

http://souptonuts.sourceforge.net/postfix_sbr.html


Ted Turner <http://www.brainyquote.com/quotes/authors/t/ted_turner.html> -
"Sports is like a war without the killing."

On Wed, Nov 18, 2009 at 19:08, Barney Desmond <barneydesmond(a)gmail.com>wrote:

> 2009/11/19 Dhiraj Chatpar <dchatpar(a)gmail.com>:
> > I believe there is an option within postfix too to achieve this?
>
> I'm fairly sure there's not. If you don't like the idea of using
> iptables, the alternative would be a customised DNS entry for your
> relayhost.
>
> Create a "virtual" relayhost A-record (eg. relayhost.mydomain.com)
> that returns multiple IP addresses, this will produce a rudimentary
> form of round-robin. Then just set relayhost=relayhost.mydomain.com in
> main.cf
>
From: Wietse Venema on
Dhiraj Chatpar:
> Hi,
>
> I am looking for a solution where i would be able to configure one postfix
> instance in such a way that it rotates multiple relayhosts and acts as a
> host that relays emails to multiple hosts. For eg. we currently have the
> option of entering just one relayhost = xx.xx.xx.xx. However i need a
> solution where i shuld be able to map multiple relayhosts and make postfix
> relay via those list of hosts.

What problem are you trying to solve? State the problem, not
the solution of multiple relayhosts and ports.

Wietse

From: Dhiraj Chatpar on
We have 5 different servers.. all of them are mailing servers for our main
company domain, I wish to Balance the mails across these 5 servers.


Ogden Nash <http://www.brainyquote.com/quotes/authors/o/ogden_nash.html> -
"The trouble with a kitten is that when it grows up, it's always a cat."

On Wed, Nov 18, 2009 at 19:34, Wietse Venema <wietse(a)porcupine.org> wrote:

> Dhiraj Chatpar:
> > Hi,
> >
> > I am looking for a solution where i would be able to configure one
> postfix
> > instance in such a way that it rotates multiple relayhosts and acts as a
> > host that relays emails to multiple hosts. For eg. we currently have the
> > option of entering just one relayhost = xx.xx.xx.xx. However i need a
> > solution where i shuld be able to map multiple relayhosts and make
> postfix
> > relay via those list of hosts.
>
> What problem are you trying to solve? State the problem, not
> the solution of multiple relayhosts and ports.
>
> Wietse
>