Relayhost to multiple hosts

2009-11-18 Thread 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

Re: Relayhost to multiple hosts

2009-11-18 Thread Eero Volotinen
Quoting Dhiraj Chatpar dchat...@gmail.com: 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

Re: Relayhost to multiple hosts

2009-11-18 Thread Dhiraj Chatpar
can you please give me a tutorial to achieve this? Joan Crawfordhttp://www.brainyquote.com/quotes/authors/j/joan_crawford.html - I, Joan Crawford, I believe in the dollar. Everything I earn, I spend. On Wed, Nov 18, 2009 at 17:57, Eero Volotinen eero.voloti...@iki.fi wrote: Quoting Dhiraj

Re: Relayhost to multiple hosts

2009-11-18 Thread Eero Volotinen
Quoting Dhiraj Chatpar dchat...@gmail.com: can you please give me a tutorial to achieve this? See the: http://cormander.com/blog/2008/05/round-robin-balancing-with-iptables/ and http://www.zytrax.com/books/dns/ch9/rr.html -- Eero

Re: Relayhost to multiple hosts

2009-11-18 Thread Dhiraj Chatpar
I believe there is an option within postfix too to achieve this? 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 18:50, Eero Volotinen eero.voloti...@iki.fi wrote: Quoting

Re: Relayhost to multiple hosts

2009-11-18 Thread Eero Volotinen
Quoting Dhiraj Chatpar dchat...@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

Re: Relayhost to multiple hosts

2009-11-18 Thread Barney Desmond
2009/11/19 Dhiraj Chatpar dchat...@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.

Re: Relayhost to multiple hosts

2009-11-18 Thread Dhiraj Chatpar
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 barneydesm...@gmail.comwrote:

Re: Relayhost to multiple hosts

2009-11-18 Thread Dhiraj Chatpar
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,

Re: Relayhost to multiple hosts

2009-11-18 Thread Wietse Venema
Dhiraj Chatpar: 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. Isn't that what the DNS was invented for? You specify the domain and its servers, and then all standards-compliant mail systems will

Re: Relayhost to multiple hosts

2009-11-18 Thread Dhiraj Chatpar
Yes the DNS is a good idea.. However what will i achieve if i implement the following? # Changes in /etc/postfix2/main.cf sender_based_routing = yes relay unix - - n - - smtp -o fallback_relay= smtp_act1 unix - - n

Re: Relayhost to multiple hosts

2009-11-18 Thread Wietse Venema
Dhiraj Chatpar: Yes the DNS is a good idea.. However what will i achieve if i implement the following? The solution is to have multiple MX records in the DNS. All standards-compliant MTAs will spread the load WITHOUT ANY SENDER SIDE CONFIGURATION. Wietse

Relayhost to multiple hosts

2009-11-18 Thread Stan Hoeppner
Wietse Venema put forth on 11/18/2009 9:25 AM: Dhiraj Chatpar: Yes the DNS is a good idea.. However what will i achieve if i implement the following? The solution is to have multiple MX records in the DNS. All standards-compliant MTAs will spread the load WITHOUT ANY SENDER SIDE

Re: Relayhost to multiple hosts

2009-11-18 Thread Noel Jones
On 11/18/2009 11:47 AM, Dhiraj Chatpar wrote: Well sir its our friend yahoo which is going to get me kicked off my job as an administrator. I had an issue where a email sent to a yahoo email address from My CEO didnt end up delivering. Ever since i have been wondering for solutions. You're