I got a server with 8 IP addresses to use as a mail server (With PostFix). I want PostFix to rotate the IP and hostname for each message. I found the config parameter
smtp_bind_address = 188.8.131.52
(And there's another one I can't remember that does hostname) But that only lets me bind to one IP/hostname.
I have these IP's:
184.108.40.206 => mail1.mydomain.com 220.127.116.11 => mail2.mydomain.com 18.104.22.168 => mail3.mydomain.com [etc]
The first message should be sent from 22.214.171.124, second from 126.96.36.199, third from 188.8.131.52 etc. so just round-robin balancing the avaliable IPs
Is this possible with Postfix?