If you are offering shared hosting service, at times your main server IP address might get blacklisted for abuse from an user. Even after you suspend the user and appeal for removal from the lists, still it takes some time to have them removed from the lists.
For the convenience of other users, you can switch to a secondary ip address of you server for sending mails till your main ip gets de-listed.
To change your main server ip address in cPanel:
Login to WHM
Click Exim Configuration Editor
Check the box next to:
“Send outgoing mail from the ip that matches the domain name in /etc/mailips (*: IP can be added to the file to change the main outgoing interface)”
Save Changes
Then edit the file:
/etc/mailips
Add:
*: ReplacewithnewIP
Restart exim
service exim restart
Tags: cPanel, IP Address, Linux
Categories: Tech, Tips and Tricks, Tutorials