changing hostname and postfix

Discussion in 'HOWTO-Related Questions' started by bplgonzo, Sep 23, 2007.

  1. bplgonzo

    bplgonzo New Member

    I have following problem:

    I changed host name from "" to "" on /etc/hosts and /etc/hostname
    I also change "" to "" in /etc/postfix/

    Now, when i send mail (forum script to user) i still get old hostname on some data in mail header. Here is example:


    Return-Path: <[email protected]>
    Received: from ( [])
    by with ESMTP id k29si6251254fkk.2007.;
    Sat, 22 Sep 2007 20:24:06 -0700 (PDT)
    Received-SPF: neutral ( is neither permitted nor denied by best guess record for domain of [email protected][COLOR="Red"][B][/B][/COLOR]) client-ip=;
    Authentication-Results:; spf=neutral [email protected]
    Received: by (Postfix, from userid 33)
    id 844D01C25298; Sun, 23 Sep 2007 05:24:05 +0200 (CEST)


    I can notice that old hostname is in the mail. Where do i change this? It causes some local provider mailserver to drop mail because of non-existing sender ( which i have to change to existing one ( od
  2. falko

    falko Super Moderator ISPConfig Developer

    What are the outputs of
    postconf -n
    postconf -d
  3. bplgonzo

    bplgonzo New Member

    I managed to find error. Hostname also needed to be changed in /etc/mailname

Share This Page