On 03/10/2011 04:55 PM, Frank Bonnet wrote:
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.
Thank you.
I'm not sure what you are asking for here - do you mean you want to
load-balance all outgoing email?
This happens by default: postfix maintains per-transport,
per-destination queues, to avoid clogging one route and starving others.
If you are sending all mail to multiple external relayhosts, you could
set up separate transports for each load-balancer member and select one
based on - for example - a RANDOM() result from a programmatic map such
as mysql.
But if you have large volumes of mail and think load-balancing is the
"solution" then you should probably not be using relays.
Postfix is a very capable SMTP server; it will gladly send millions of
messages for you every day.
--
J.