/var/log/maillog, hostname value wrong

bcrooker

Member
Jun 3, 2013
5
0
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
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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.
 

bcrooker

Member
Jun 3, 2013
5
0
1
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.
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.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,071
32
178
Finland
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?
I have had that a few times, and rebooting the server has always fixed it.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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.