How to Change Exim SMTP IP Address on Linux Server?

How to Change  Exim SMTP IP Address on Linux Server:

You can change the IP address that exim uses to send mail by changing the following in my exim.conf a follows:

remote_smtp:
driver = smtp

to:

remote_smtp:
driver = smtp
interface = 123.123.123.123

Resolution :

In WHM on Exim Configuration Editor, rewrite two routers, There is an edit box bellow “ROUTERS CONFIGURATION”, Box is before “lookuphost” router,
Put these lines to that box:

(7th box from top in exim configuration)

Quote:
mylookuphost:
driver = dnslookup
condition = “${perl{checkspam}}”
domains = ! +local_domains
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24
headers_add = “${perl{mailtrapheaders}}”
transport = my_remote_smtp

myliteral:
driver = ipliteral
condition = “${perl{checkspam}}”
domains = ! +local_domains
headers_add = “${perl{mailtrapheaders}}”
transport = my_remote_smtp

Then move down to “TRANSPORTS CONFIGURATION”, On edit box there (just up the remote_smtp transporter)
put these lines:

(12th box from top in exim configuration)
Quote:
my_remote_smtp:
driver = smtp
interface = 72.29.75.244
This will be permanent and will not change by CPanel updates.

  • Email, SSL
  • 0 أعضاء وجدوا هذه المقالة مفيدة
هل كانت المقالة مفيدة ؟

Related Articles

How to Add Domains and Subdomain?

To create Domains:1. Login to Plesk2. Click on “Website and Domains” tab3. Scroll Down and...

How do I enable the Hotlinking Protection for my website in CPanel?

Hotlinking protection option in CPanel protects your website from linking to files and images on...

How do I disable the redirection of my website?

a)      Login to the cpanel of your websiteb)      Search the option for Redirects...

How to change the password of your cPanel account

It is a Good Habbit to change your password at regular intervals. Its also recommended to have...

How do I generate and download a full backup of my website including databases?

a)      Login to your websites CPanelb)      Search for Backup option and click on...