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/relayhosts

Discussion in 'General Discussion' started by randee, May 25, 2006.

  1. randee

    randee Member

    Joined:
    Dec 16, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Black Hills
    /etc/relayhosts
    What should be in this file?
    I see Ip's in there that are not part of my network, or part of my co-lo's network...
    I don't see many of the IP's that I use on my servers either.

    thanks for any help...
     
  2. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    166
    Sometimes in my exim/mainlog is see.

    Cant open /etc/relayhosts then the error goes away. /etc/relayhosts is chmod 644 so im not sure why we see this error at times. Maybe you should look to see if this is happening in your exim_mainlog as well.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    That file holds the IP addresses found by the antirelayd daemon which collects them from /var/log/maillog and puts them into that file to allow relaying from those IP addresses through the server - i.e. POP before SMTP.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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