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.

/etc/alwaysrelay question

Discussion in 'General Discussion' started by ryan.overton, Mar 7, 2006.

  1. ryan.overton

    ryan.overton Active Member

    Joined:
    Mar 3, 2006
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Dont know if this is the right fourm or not...

    can the /etc/alwaysrelay file contain commented lines?

    also, would I be restarting exim once the changes have been made?
     
  2. Estrac

    Estrac Well-Known Member

    Joined:
    Nov 18, 2005
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    You can always use # to comment a line

    and, you dont need to restart exim when you modify alwaysrelay file

    estrac


     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Looking at antirelayd, you probably can do, but they could easily be messed up by the script that uses that file - /usr/sbin/antirelayd

    And indeed, you don't need to restart antirelayd if you change the file as the script reloads it on each daemon run by the looks of it. The file /etc/alwaysrelay isn't actually used by exim itself, it's used to populate /etc/relayhosts by antirelayd.
     
    #3 chirpy, Mar 8, 2006
    Last edited: Mar 8, 2006
Loading...

Share This Page