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!

/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:
    156
    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:
    156
    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,460
    Likes Received:
    21
    Trophy Points:
    463
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #3 chirpy, Mar 8, 2006
    Last edited: Mar 8, 2006
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