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.

Exim Relay Hosts

Discussion in 'General Discussion' started by trparky, Apr 19, 2005.

  1. trparky

    trparky Well-Known Member

    Joined:
    Apr 23, 2003
    Messages:
    184
    Likes Received:
    1
    Trophy Points:
    0
    I need a way for Exim to permanently allow an IP address as an authorized relay. How do I do this?
     
  2. rvskin

    rvskin Well-Known Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    400
    Likes Received:
    1
    Trophy Points:
    18
    Add ip in /etc/alwaysrelay.
     
  3. trparky

    trparky Well-Known Member

    Joined:
    Apr 23, 2003
    Messages:
    184
    Likes Received:
    1
    Trophy Points:
    0
    Are you sure? I just checked the exim.conf file and there is no mention of that file.
     
  4. rvskin

    rvskin Well-Known Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    400
    Likes Received:
    1
    Trophy Points:
    18
    I forgot one thing. You need to restart Exim and IP in /etc/alwaysrelay will always stay in /etc/relayhosts.
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That's it. It's not exim that reads the alwaysrelay file, it's antirelayd that uses it.
     
  6. trparky

    trparky Well-Known Member

    Joined:
    Apr 23, 2003
    Messages:
    184
    Likes Received:
    1
    Trophy Points:
    0
    Ok, let me get this straight. Once I add the IP address to /etc/alwaysrelay, do I still have to add it to /etc/relayhosts?
     
  7. hforbess

    hforbess Member

    Joined:
    Jun 7, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    no, you dont

    if you put it in /etc/alwaysrelay and restart, it will get written to /etc/relayhosts and stay there.
     
Loading...

Share This Page