Change email IP in Exim

If your cPanel server is a shared environment server, your server IP might be blocked by any RBL list such as SpamHaus.

As cPanel by default set the primary email as the SMTP mail IP, to enable different IPs to be send from the cPanel, you may follow the step as below,

1. Log into WHM.
2. Select Service Configuration and choose Exim Configuration Editor.
3. Find “Reference /etc/mailips for outgoing SMTP connections” and enable it.
4. Edit the file named /etc/mailips through SSH.

example.com: 192.168.0.2
sub.example.com: 192.168.0.2
example.net: 192.168.0.3
addon.example.net: 192.168.0.3
*: 192.168.0.1

Replace the host name and IPs with your desired information.

Advertisements
  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: