On shared hosting servers you probably find your mail server’s ip blocked by other mail servers because of high mail volume or one of your users doing spamming. To change your exim IP for outgoing mail, you can edit your /etc/exim.conf file:—
You can change the interface IP address for exim mail server in the exim configuration file (exim.conf).
1) Stop Exim service.
[root@map007]# /etc/init.d/exim stop
2) Open the configuration file of exim.
[root@map007]# vi /etc/exim.conf
3) Check for the following parameters.
By default it would look like below:
Quote:
remote_smtp:
driver = smtp
interface = ${if exists {/etc/mailips}{${lookup{$sender_address_domain}lsearch{/etc/mailips}{$value}{}}}{}}
helo_data = ${if exists {/etc/mailhelo}{${lookup{$sender_address_domain}lsearch{/etc/mailhelo}{$value}{$primary_hostname}}}{$primary_ho stname}}
4) Ccomment line containing “interface” and “helo_data” and add new “interface” to match with that of your new IP address. It should look like as follows:
Quote:
remote_smtp:
driver = smtp
interface = x.x.x.x # Your IP address.
5) Save your changes and exit out from your exim configuration file.
Note : Dont forget to set read only attributes on exim configuration file, so that it wont get reset to default :
[root@map007]# chattr +aui /etc/exim.conf
6) Start exim service on your server.
[root@map007]# /etc/init.d/exim start
**********************************************************************************************
![]()
Enjoy Linux !!!













Comments
Hi, Congratulations to the site owner for this marvelous work you’ve done. It has lots of useful and interesting data.
The best information i have found exactly here. Keep going Thank you
well.. it’s like I knew!
I think this was a very interesting post thanks for writing it!
Thank you for this valuable post. It changed my Thank you for this valuable post. It changed my policy
Thank you for this valuable post. It changed my way
Dear Author http://www.linuxsurgeon.org !
I confirm. So happens. Let’s discuss this question.
HI Thanks for all the pricious information is being shared by you keep going on
Hi,
Please tell me your questions in English…..
Thank you.
I want to quote your post in my blog. It can?
And you et an account on Twitter?
Hi,
Yes you can….And my twitter link is http://twitter.com/piyushmap