postfix-users March 2011 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: round-robin sending SMTP server ?

Re: round-robin sending SMTP server ?

From: Frank Bonnet <f.bonnet_at_nospam>
Date: Fri Mar 11 2011 - 08:51:05 GMT
To: postfix-users@postfix.org

On 03/10/2011 09:09 PM, Stan Hoeppner wrote:
> Frank Bonnet put forth on 3/10/2011 9:55 AM:
>> Hello
>>
>> Is it possible to configure postfix to use some round-robin
>> mechanisms to send emails with several SMTP servers ?
>>
>> I mean to SEND emails to the external world, not to receive.
>
> I touched on this recently but in a different context, that being
> multiple postfix instances on one box all used as an outbound relay
> farm. You wan to use round robin DNS for this.
>
> What you want to accomplish is very simple. Create a DNS CNAME entry of
> something like relay-farm.your-domain.tld and point it to something like
> tractor.your-domain.tld. Then create an A record for each SMTP relay
> box's IP, with all of these A records having the name
> tractor.your-domain.tld. This should enable round robin DNS. Now,
> simply add this to main.cf:
>
> relayhost = relay-farm.your-domain.tld
>
> I think this is right. If not it's darn close.
>

Thanks a Stan gonna try this

-- Frank BONNET 01.45.92.66.17 Service des Moyens Informatiques Generaux ESIEE PARIS Cité Descartes / BP 99 93162 NOISY-LE-GRAND Cedex http://www.esiee.fr <http://www.esiee.fr/>