Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: server hostname change

  1. #11
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    Default

    Did you also make changes to the /etc/hosts file to reflect the new name after you changed it with zmsetservername?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  2. #12
    zaf
    zaf is offline Partner (VAR/HSP)
    Join Date
    Jan 2006
    Location
    Lafayette, LA
    Posts
    81
    Rep Power
    9

    Default

    Quote Originally Posted by KevinH
    Just realized that this thread(and Marc's response) was over 3mo old and we now ship a script:

    libexec/zmsetservername

    Not tested too much so take a backup but it should do the trick.
    Does this fix the certs as well?

  3. #13
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    Default

    Quote Originally Posted by zaf
    Does this fix the certs as well?
    Not as far as I know but you'll find information on the forums about creating new certificates.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #14
    gutzeit is offline Intermediate Member
    Join Date
    Nov 2005
    Posts
    19
    Rep Power
    9

    Default

    So what is the conclusion ? Is this script safe to use ?

  5. #15
    zzzzsg is offline Senior Member
    Join Date
    Nov 2005
    Posts
    73
    Rep Power
    9

    Default

    I gave up changing the hostname.

    I used the script, and it seemed to work at first, but found errors after logging in.

    In the end, reinstalled zimbra.

    Cannot receive mail and Csfe service error after changing server name

    Somebody wrote this - but I didn't follow the steps there.
    Changing Your Hostname

    Quote Originally Posted by gutzeit
    So what is the conclusion ? Is this script safe to use ?
    Last edited by zzzzsg; 04-19-2006 at 03:21 PM.

  6. #16
    swu
    swu is offline Special Member
    Join Date
    Apr 2007
    Location
    Ann Arbor, MI
    Posts
    108
    Rep Power
    8

    Question

    I'm trying to do the same thing as the original poster. Same issue with the few mailservers that want to do a FQDN lookup with your helo info. Otherwise email flows fine in both directions.

    Where is the $myhostname variable in main.cf being pulled from? It doesn't stick when you change it with the postconf -e command. When the server gets rebooted I have to go in and run the command again to set it to mail.mydomain.com.

    My internal DNS servers have A and MX records pointing to the Zimbra server's hostname (mail-01.mydomain.com). The outside (ISP) MX record points to mail.mydomain.com which gets NATed and shipped to the Zimbra box. Works fine.

    In all my other Postfix installs, this is a snap. Just set the $myhostname variable to mail.mydomain.com and other mail servers can do a FQDN lookup and you're good. I have not had to set the server's hostname the same as the outside MX record.

    If you have to do this with Zimbra, is there a safe/clean what to change the server's hostname? I'm in production so reinstalling is not an option.

    Thx!

  7. #17
    fsultan's Avatar
    fsultan is offline Starter Member
    Join Date
    Mar 2008
    Posts
    1
    Rep Power
    7

    Default

    Quote Originally Posted by KevinH View Post
    After a postconf try "postfix reload" and not a zimbra restart. This should not rewrite the file but force a reload of the config.
    I tried to change the domain name advertised in SMTP with:

    postconf -e myhostname=mail01.domainname.com
    postfix reload

    However when I telnet to port 25, I still see the old domainname. ?

    Both domains exist on Zimbra, the new domain name is the current default.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. initializing ldap...FAILED(256)ERROR
    By manjunath in forum Installation
    Replies: 39
    Last Post: 06-07-2013, 10:27 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. Change hostname and IP Address!
    By celeron in forum Administrators
    Replies: 6
    Last Post: 07-15-2007, 09:27 PM
  4. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  5. Error 256 on Installation
    By RuinExplorer in forum Installation
    Replies: 5
    Last Post: 10-19-2006, 09:19 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
  •