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.

/var/log/maillog, hostname value wrong

Discussion in 'E-mail Discussions' started by bcrooker, Jun 5, 2013.

  1. bcrooker

    bcrooker Member

    Joined:
    Jun 3, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    We migrated to cPanel and initially the hostname was 'vps2'. We later switched it to 'server'. I think everything has been updated correctly, but our /var/log/maillog file still shows vps2 in the first non/datetime column.

    e.g.

    Jun 5 12:57:51 vps2 pop3d-ssl: blah blah blah...

    Is this a cause for concern? Where the heck is it getting the value from?

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please check to see if your SSL certificates have been updated to the new hostname via:

    "WHM Home » Service Configuration » Manage Service SSL Certificates"

    If not, you can reset the certificate to a new self-signed one so it uses the new hostname.

    Thank you.
     
  3. bcrooker

    bcrooker Member

    Joined:
    Jun 3, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    All of the certificates listed on that page show the correct server.blahblah.com name, which is a purchased certificate.

    I also checked the /etc/hosts file (at one point the vps2 host was the first line in the file, I corrected that).

    Besides the fact that this bugs me seeing that value, it also concerns me that it might be indicative of some configuration somewhere that might bite me in the butt down the road.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket so we can investigate and determine where the old hostname is stored at?

    Submit A Ticket

    Please post the ticket number here so we can keep this thread updated.

    Thank you.
     
  5. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    I have had that a few times, and rebooting the server has always fixed it.
     
  6. bcrooker

    bcrooker Member

    Joined:
    Jun 3, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Ticket 4192549
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    We discovered in the ticket that this happened after a system reboot. This is a common issue on VPS machines, and typically happens when the VPS hardware node still has the old hostname configured. Contacting your VPS provider to have them update the hostname from the hardware node for the VPS will typically resolve this issue.

    Thank you.
     
Loading...

Share This Page