ram wrote: > Our clients set up their mail forwarding to blackberry servers > The blackberry server is doing a ratelimit and mails get held up on our > servers > > I can easily configure multiple IP addresses on the machine. Can I > configure postfix to send using different bind addresses > > I know I can change the smtp_bind_address parameter through a script but > that seems stupid having to restart postfix everytime > > Also we can never evenly spread out the mails thru different IPS
I don't believe there's an easy solution. This problem comes up reasonably frequently and is probably the bane of every mailserver admin's existence. You'd think you could create extra smtp-service instances in master.cf and bind them to different addresses with -o smtp_bind_address=a.b.c.d, then use transport maps to fiddle with them, but this apparently doesn't work. You can easily run multiple instances of postfix on the one machine, but that still doesn't solve the problem of distributing the mail in a round-robin manner, unless you want to use DNS round-robin'ing, and rely on postfix doing a new lookup for every message, and not sending too many messages in one connection to the instance, and... it's not really sane. Of course the "right thing" is for the blackberry servers not to rate-limit you. Meanwhile, I still want a pony and a million bucks... P.S. My apologies if this is inaccurate; things may have changed in more recent versions, but I believe this is correct at least for v2.3 (latest RHEL/Centos).
signature.asc
Description: OpenPGP digital signature