How to setup multiple outgoing IPs in Exim MTA server

Below were the steps made to resolve the above email problem:

1. Login your mail server through ssh or console, if you have physical access.
2. Edit your mailips file located in /etc directory:

1
sudo vi /etc/mailips
3. Your mailips should look like the format below:

# Domain : IP
# Route specific domain to an IP
seoroot.com : 198.23.111.25
# All outgoing domain emails to specific IP, except for compromised domains
* : 1.2.3.4
# All compromised domains
domain1 : 127.0.0.1
domain2 : 127.0.0.1

service exim restart
That’s about it! You should have your new mailips in effect already. Do send a test mail and check that you have your email in your inbox.

Feel free to drop me an email/comment below for help and suggestions/tips.

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注