Multiple IPs for single domain in /etc/mailips
Hi there,
we have the file /etc/mailips, which works great for domain/IP mapping while sending emails.
Now the simple question: how can I assign TWO (or more) IPs to ONE domain, to be picked up randomly or "round-robin"?
Say, if I want my emails for the domain test.com to be sent from IP 1.2.3.4 AND 4.3.2.1 AND 1.1.2.2? Will that be possible? Can I just write something like this:
------
test.com: 1.2.3.4; 4.3.2.1; 1.1.2.2
------
..or maybe somehow else?
Thanks.
Alex
-
Hello :) This is discussed on the following thread: IP rotation Thank you. 0 -
That's a bit different case I think. They are talking about IP rotation (external overwriting the /etc/mailips file on cron or whatever). They have a pool of IPs and they are doing that for maintain the sender's reputation etc (mistly possible they are preparing to send spam and don't want to get blocked easily). My question is to do a FIXED one-time setup, that will tell Exim to utilize a couple of existing IPs to send to one [selected] domain to balance the network load. I need to send something 100.000emails/month to this domain. There is already such a functionality "domain via IP" for single IP - is there any "extension" for multiple IPs that will do the same thing? I don't want to mess with overwriting that file on cron, or something like that - I would like to set exim one time, and forget about that for the rest of my life. :) 0 -
Hello :) There's no native functionality for that type of configuration, but you could develop a script that alters the appropriate files. The documentation on the sending IP address is found at: How to Configure Exim's Outgoing IP Address - cPanel Knowledge Base - cPanel Documentation Thank you. -1
Please sign in to leave a comment.
Comments
3 comments