Change all instances of server name

Discussion in 'Installation/Configuration' started by Brenton, Aug 19, 2011.

  1. Brenton

    Brenton New Member

    Hi

    When I set up my server I named it server.domain.com not realising that my old server was named the same. I then went to change all instances that I was aware of from server.domain.com to server1.domain.com, but when I look at mail headers I see:
    Code:
    Received: by server1.domain.com (Postfix)
    	id 9322C1337425; Fri, 19 Aug 2011 18:47:50 +0200 (SAST)
    Date: Fri, 19 Aug 2011 18:47:50 +0200 (SAST)
    From: [email protected] (Mail Delivery System)
    I have no idea where the From: ... picks up the server name.

    Any direction to start looking would be great.

    Regards
    Brenton
     
  2. falko

    falko Super Moderator ISPConfig Developer

    If you are on Debian/Ubuntu, please change the hostname in /etc/mailname as well and restart Postfix.
     

Share This Page