Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Dec 2003
    Location
    Black Hills
    Posts
    21

    Default /etc/relayhosts

    /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. #2
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default

    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. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Quote Originally Posted by randee
    /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...
    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. /etc/relayhosts is vanishing
    By borki in forum E-mail Discussions
    Replies: 9
    Last Post: 08-13-2007, 10:22 AM
  2. relayhosts
    By cyanide in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 10-14-2006, 12:21 AM
  3. relayhosts file
    By onaweb in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-09-2006, 06:52 PM
  4. Anybody know why /etc/relayhosts is not being written to?
    By Jeff75 in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 04-22-2005, 01:17 PM
  5. /etc/relayhosts
    By promak in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-17-2003, 09:37 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube