Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Feb 2004
    Location
    Montreal
    Posts
    63

    Exclamation How can I setup a dedicated ip for exim

    Whay I am basically looking to do is to setup a sepicific IP for emails only.

    Any idea how ?

    Thank you

  2. #2
    Member
    Join Date
    Apr 2009
    Posts
    230

    Default

    Assuming that you are using Exim.

    Open /etc/exim.conf and go to 'TRANSPORT CONFIGURATION'

    Comment out the existing 'interface' entry and add the following line :-

    interface = X.X.X.X
    (Replace this with the IP that you want to use)

    After making the change, this part of the file should look something like this.

    Code:
     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_hostname}}
       interface = x.x.x.x
    Alternatively, you can just put the IP in the file '/etc/mailips'
    Last edited by InstaCarma_Tech; 05-22-2009 at 08:13 AM. Reason: Assuming that you are using Exim

  3. #3
    Member
    Join Date
    Oct 2005
    Posts
    125

    Default

    There are also several settings in WHM that would allow you to move the IP address of Exim, including the ability to use a different IP for accounts with static IPs.

Similar Threads & Tags
Similar threads

  1. Help with dedicated server setup
    By iToke in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 09-26-2010, 02:34 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube