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,587
    Rep Power
    58

    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
    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,587
    Rep Power
    58

    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
    Join Date
    Nov 2005
    Posts
    19
    Rep Power
    10

    Default

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

  5. #15
    Join Date
    Nov 2005
    Posts
    73
    Rep Power
    10

    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.

    http://www.zimbra.com/forums/showthread.php?t=2629

    Somebody wrote this - but I didn't follow the steps there.
    http://www.zimbra.com/forums/showthread.php?t=710

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

  6. #16
    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
    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.

Similar Threads

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