Howto change interface ip address of Exim mail server ???

Mar-7th-2009

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

**********************************************************************************************

Bookmark and Share

Enjoy Linux !!!

Mega World News Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google Yahoo Buzz StumbleUpon Weekend Joy

Comments

  1. gassegest Said,

    Hi, Congratulations to the site owner for this marvelous work you’ve done. It has lots of useful and interesting data.

  2. KattyBlackyard Said,

    The best information i have found exactly here. Keep going Thank you

  3. forced lesbian incest Said,

    well.. it’s like I knew!

  4. jewelry Said,

    I think this was a very interesting post thanks for writing it!

  5. babafisa Said,

    Thank you for this valuable post. It changed my Thank you for this valuable post. It changed my policy

  6. npoet.ru Said,

    Thank you for this valuable post. It changed my way

  7. neumoev Said,

    Dear Author http://www.linuxsurgeon.org !
    I confirm. So happens. Let’s discuss this question.

  8. roz Said,

    HI Thanks for all the pricious information is being shared by you keep going on

  9. piyushmap Said,

    Hi,

    Please tell me your questions in English…..

    Thank you.

  10. hypnomouse Said,

    I want to quote your post in my blog. It can?
    And you et an account on Twitter?

  11. piyushmap Said,

    Hi,
    Yes you can….And my twitter link is http://twitter.com/piyushmap

Add A Comment

*