The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to change Interface ?

Discussion in 'General Discussion' started by Samar3114, Mar 13, 2009.

  1. Samar3114

    Samar3114 Registered

    Joined:
    Feb 19, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    We have changed interface using below method. But its not taking proper effects.

    - vi /etc/exim.conf
    - we are changing interface using server's another ip, We are adding interface as below :

    dk_remote_smtp:
    driver = smtp
    interface = Server's another ip

    Please let us know what we can do for changing interface.

    Thanks in Advance!
     
  2. JPC-Martin

    JPC-Martin Active Member
    PartnerNOC

    Joined:
    May 31, 2008
    Messages:
    37
    Likes Received:
    1
    Trophy Points:
    8
    You may check "remote_smtp" section under "TRANSPORTS CONFIGURATION".By default it would look like below:


    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}}


    Removing or comment 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:


    remote_smtp:
    driver = smtp
    interface = 12.12.12.12 # Your IP address.

    Dont forget to set read only attributes on exim configuration file, so that it wont get reset to default automatically.

    You can do it using following command:
    # chattr +aui /etc/exim.conf

    And then restart exim service , Hope it will fix your issue.
     
Loading...

Share This Page