Re: Multiple outgoing smtp servers

2013-11-08 Thread Wietse Venema
Roman Gelfand: > Wouldn't the server be chosen round robin as opposed to random? Postfix delivers messages in parallel. Because each SMTP client process chooses a server IP address independently, it must be selected randomly. Wietse

Re: Multiple outgoing smtp servers

2013-11-08 Thread Stefan Foerster
* Viktor Dukhovni : > On Thu, Nov 07, 2013 at 08:58:47PM -0600, Stan Hoeppner wrote: > > This would require too much complex code for what is a simple Postfix > > operation. Your example is "poor man's round robin". That's the best > > Postfix can do without serious code changes. But why add suc

Re: Multiple outgoing smtp servers

2013-11-07 Thread Viktor Dukhovni
On Thu, Nov 07, 2013 at 08:58:47PM -0600, Stan Hoeppner wrote: > On 11/7/2013 7:52 PM, Roman Gelfand wrote: > > Wouldn't the server be chosen round robin as opposed to random? > > This would require too much complex code for what is a simple Postfix > operation. Your example is "poor man's round

Re: Multiple outgoing smtp servers

2013-11-07 Thread Stan Hoeppner
without serious code changes. But why add such code when others have already solved this problem? I.e. do it in your DNS server, which supports true round robin. > From: Wietse Venema > Sent: 11/7/2013 8:21 PM > To: Postfix users > Cc: postfix users list; u...@porcupine.org > Subject:

RE: Multiple outgoing smtp servers

2013-11-07 Thread Roman Gelfand
Wouldn't the server be chosen round robin as opposed to random? From: Wietse Venema Sent: 11/7/2013 8:21 PM To: Postfix users Cc: postfix users list; u...@porcupine.org Subject: Re: Multiple outgoing smtp servers Roman Gelfand: > I am looking to load balance and distribute outgoing loa

Re: Multiple outgoing smtp servers

2013-11-07 Thread Wietse Venema
Roman Gelfand: > I am looking to load balance and distribute outgoing load. > > I read that all you need to do is add the following dns entries for > each postfix box.. > > mxr IN A 192.168.1.121 > mxr IN A 192.168.1.131 > mxr IN A 192.168.1.141 > mxr IN A 192.168.1.151 > mxr IN A 192.168.1.161 >

Re: Multiple outgoing smtp servers

2013-11-07 Thread Benny Pedersen
Roman Gelfand skrev den 2013-11-08 00:46: I am looking to load balance and distribute outgoing load. no point I read that all you need to do is add the following dns entries for each postfix box.. link ? mxr IN A 192.168.1.121 mxr IN A 192.168.1.131 mxr IN A 192.168.1.141 mxr IN A 192.168

Multiple outgoing smtp servers

2013-11-07 Thread Roman Gelfand
I am looking to load balance and distribute outgoing load. I read that all you need to do is add the following dns entries for each postfix box.. mxr IN A 192.168.1.121 mxr IN A 192.168.1.131 mxr IN A 192.168.1.141 mxr IN A 192.168.1.151 mxr IN A 192.168.1.161 and the following line in main.cf