Change Mail server IP for any blacklisted server

Change Mail server IP for any blacklisted server

Introduction:

Exim send email from its server primary IPV4 address. Sometime those emails that are sent from IPV4 server primary address are rejected by end users like google, yahoo etc. The reason for this is due to poor reputation of server IP address it is getting blacklisted. You can see if your server IP address is blacklisted by visiting the website mxtoolbox.com/blacklist.aspx. There may be other issues that is not related to your server IP address if you do not see your server IP not blacklisted in the website. You should need to act if you see your IP address in blacklisted list suspend the spammer who made your IP in blacklisted. There are alternate options as well to use another IP for your mail servers.

Steps to Change the Mail IP address

1) Add your IP to your Mail sever

2) SSH to your server to edit the file etc/mailips

3) The new IP that you are providing should have a good reputation.

4) Add a RDNS (Reverse DNS entry)

Follow these steps in WHM

Add an IP address to the server

Step1:

To do this through WHM first you need to login and find the Home Screen. Under Home Screen you need to find out the IP function then click on the Add a new IP address

Step2:

Add IP address to the email server

SSH to the server

Code:
# vi /etc/mailips *: xxx.xxx.xxx.xxx (IP address of the server)
:wq
Step3:

Add a reverse DNS entry (RDNS)

Code:
# vi /etc/mail_reverse_dns xxx.xxx.xxx.xxx: HOSTNAME

:wq
Step4:

Re start the Exim service for the configuration file to take effect

Code:
# /scripts/buildeximconf

# service exim restart
Final step is to login into WHM panel and follow the instruction for using the new IP to trigger mails
  • Go to Home and Service configuration
  • Then click on Exim Configuration manager
  • Find the basic editor selection then select the domain and IP address
  • Turn on Reference/etc/mailips for outgoing mail
  • Then Save the changes
Author
Bhawani Singh
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Bhawani Singh

Top