Skip to main content

Return-Path: <root@vps> instead of Return-Path: <root@vps.domain.tld>

Comments

8 comments

  • cPanelLauren
    Hi @estoresite On the server that's just showing up as "vps" can you run the following: hostname
    and reply here with the output? What it looks like is though you may have set your hostname at some point it reverted back to just vps - this typically occurs after a restart. Thanks!
    0
  • estoresite
    Thanks for replying Lauren, The result is attached. In the WHM interface it reads the whole hostname. Should I just resave it? Thanks.
    0
  • dalem
    Yes guessing its openVZ we have always had this issue when its started from the WHM GUI issue comes and goes we just just stick an rc.local script to reload the correct hostname in to /etc/hosts on reboot
    0
  • estoresite
    That did the trick. Awesome. Thanks you two.
    0
  • cPanelLauren
    Hi @estoresite Great! I'm glad that fixed the issue. I would suggest if it is a VZ server that you request your provider (if you don't have access to the host node) change the container name to your hostname so that this doesn't occur after every restart - at least this is what I've been told resolves the issue. The advice given by @dalem will also work. Thanks!
    0
  • estoresite
    Hi @cPanelLauren This is a xen server. Will that make any difference to either of the long-term solutions that you and @dalem suggested? Thanks again.
    0
  • cPanelLauren
    Hi @estoresite Both solutions would most likely work the same issue has been seen with XEN servers though just not as prevalent as with VZ - for example: Thanks!
    0
  • dalem
    We never have issues with XEN Just OpenVZ Do not know your providers infrastructure, But its possible that the hostname is set to VPS and at every reboot it sets the network settings and hostname. If you have access to a panel to set the hostname or your provider you can change it permanently. if not my rc.local solution works
    0

Please sign in to leave a comment.