Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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:
    58
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice