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.

Cpaneldns only - changed host name but email still from old hostname?

Discussion in 'E-mail Discussions' started by phez, May 24, 2012.

  1. phez

    phez Member

    Joined:
    May 16, 2012
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Folks,

    Have an interesting one here.

    I changed my CpanelDNS only host name from ns3.abc.com to ns3.xyz.com. I changed the host name via CLI:

    # hostname putnewnamehere

    and also here:

    /etc/hosts
    /etc/sysconfig/network

    But I am still receiving emails like the below, showing the old name. Where Can I change this to show the correct email address?


    Thanks for your time.
    Phez
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello Phez,

    Is the reverse DNS (rDNS) PTR of the IP for the server the right name as well?

    Code:
    dig -x IP#
    Please replace IP# with the server's IP number.

    From the email pasted, I'm not certain if that's cPHulk Brute Force Protection or LFD sending the emails.

    Thanks!
     
  3. phez

    phez Member

    Joined:
    May 16, 2012
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks for the tip Tristan,

    You got me thinking about the PTR record as I had request the VPS provider to add the record. The VPS provider also have a control panel which had the old host name listed. Also under cpaneldns ->> main >> service configuration >> manage service certificates , the current certificate was the old host name. I have since changed the host name via the VPS provider control panel and reissued the certificate which is now showing the new host name.

    Dig is returning the correct PTR for the IP. I am waiting for an email to be generated from the server but is there a way to force email from cPHulk?

    Thanks
    Phez
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You could try to brute force the machine for SSH login, but you'd end up getting locked out then for your IP for a set period of time. If you do that, you might want to have an SSH session already established to clear the cphulkd brutes database (or add yourself to the whitelist):

    WHM locked out
     
Loading...

Share This Page