Results 1 to 2 of 2

Thread: Change hostname

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    44
    Rep Power
    8

    Default Change hostname

    I had a test setup for the past few weeks. Now I want to change the hostname, it was "webmail.domain.com" and it should be "mail.domain.com". I have used the wiki to do this, with the command:
    Code:
    /opt/zimbra/libexec/zmsetservername mail.domain.com
    Without any error the command executed, I have added the new hostname in the hosts file, set the server name with:
    Code:
    hostname mail.domain.com
    And rebooted the server.

    Now, when I log on to the administration page I get two servers in my status screen (mail + webmail). But in the screen servers I only see the new hostname. And when I send an e-mail to a local account I still see the line:
    Code:
    webmail postfix/lmtp...
    In my maillog. Besides that, the server tries to connect to my old mail.domain.com server with an old IP address to deliver the e-mail. But when I ping to the name mail.domain.com it returns the new IP address.

    Totally confused....

  2. #2
    Join Date
    Jul 2007
    Posts
    44
    Rep Power
    8

    Default

    The old server has disappeared from the status screen, but still keeps popping up in the postfix mail delivery.

    And another update, it just seems to be my resolv.conf. nslookup gives me the old IP adres while a ping command gives me the new IP adres.
    Last edited by bramm; 08-01-2007 at 12:42 AM.

Similar Threads

  1. server hostname change
    By dijichi2 in forum Administrators
    Replies: 16
    Last Post: 03-31-2008, 10:35 AM
  2. Changing Your Hostname
    By manthrax3 in forum Administrators
    Replies: 2
    Last Post: 12-27-2007, 05:15 PM
  3. Change hostname and IP Address!
    By celeron in forum Administrators
    Replies: 6
    Last Post: 07-15-2007, 09:27 PM
  4. Installation Cancelled - Zimbra-spell !
    By Ledg in forum Installation
    Replies: 4
    Last Post: 10-19-2006, 02:54 AM
  5. Hostname change during new version upgrade
    By gutzeit in forum Installation
    Replies: 2
    Last Post: 04-14-2006, 11:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •