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.

Bind exim to specific interface only

Discussion in 'E-mail Discussions' started by Greg007, Oct 6, 2008.

  1. Greg007

    Greg007 Member

    Joined:
    Dec 19, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hi all,
    I have two interfaces. Exim trying to listen 25 port on both interfaces by default. I want to leave exim on eth0 and disable one on eth1. Anybody know how to do this? Thanks!
     
  2. Greg007

    Greg007 Member

    Joined:
    Dec 19, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    I aded in the top of exim.conf following line:

    Code:
    local_interfaces = <; 127.0.0.1 ; 1.2.3.4
    Here 1.2.3.4 is IP of eth0. Then I restarted exim and see that eth1 has no 25 port on it.
     
Loading...

Share This Page