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.

hostname resets, spamhaus...

Discussion in 'General Discussion' started by netnameus, Sep 8, 2006.

  1. netnameus

    netnameus Well-Known Member

    Joined:
    Mar 7, 2004
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    I'm having problems with my IP being constanly added to the spamhaus database.

    It's because my helo response is localhost.localdomain.

    But my hostname is in fact a valid hostname (bounty.mydomain.com).

    Everytime I reset my server, though, my hostname gets changed, so I have to set it everytime.

    Any guidence on this would be great.

    Thanks
     
  2. netnameus

    netnameus Well-Known Member

    Joined:
    Mar 7, 2004
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Showing my hostname, but also my helo response

     
  3. randomuser

    randomuser Well-Known Member

    Joined:
    Jun 25, 2005
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    16
    You can set your hostname in /etc/sysconfig/network on Linux boxes. Make sure you also have an entry in /etc/hosts

    You can change it at any time via the `hostname` command, but it likely won't be persistent across a reboot, whereas updating the 2 previously mentioned files, it will be.
     
  4. netnameus

    netnameus Well-Known Member

    Joined:
    Mar 7, 2004
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    Thing is, it resets in /etc/sysconfig/network every reboot also.

    OK, so I've changed these three things, why would my helo still be saying localhost?
     
Loading...

Share This Page