Upgrade failed

Discussion in 'Installation/Configuration' started by Tripple, Apr 9, 2009.

  1. Tripple

    Tripple New Member

    Hi,

    Some time ago a changed the hostname of my ISPConfig 2 server.
    Now, after I updated ISPConfig the mailserver keeps forwarding mail to the old domain followed by a host not found.
    Host or domain name not found. Name service error for name=olddomain.xxxxx type=AAAA: Host not found

    I looked at /etc/postfix/main.cf, changed and restarted Postfix. No luck.
    I added the old hostname to /etc/hostname. No luck.

    How can I fix this?

    [edit]
    Fixed it by adding the old domain to:
    /etc/postfix/local-host-names

    This looks more like a work around then a fix but it works.
     
    Last edited: Apr 9, 2009
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Make sure that you have set the new hostname also in /etc/mailname in case that this file exists on your server.
     
  3. Tripple

    Tripple New Member

    Never heard of that file.
    Indeed this was the file with the old hostname. thx.
     

Share This Page