TurnKey Linux Virtual Appliance Library

Zimbra Password

I used zimbra-conf to change the domain name and password and can not seem to get back into the admin screen. If the new domain is new.com isn't the admin id admin@new.com ??

Rerunning the change did not work, nor did changeing the domain to X.com and then back to new.com.

 

how to edit zimbra-conf to change domain name

Hi,

 

Need help on editing zimbra-conf to change the default example.com domain.

Can any one post for an example or detailed how to?

 

Thanks!

Jonathan Ate

Jeremy's picture

Try the zimbra-conf script

Hi Jonathan. Try the zimbra-conf script as mentioned on the Zimbra appliance page:

  • Includes custom zimbra-conf script to change domain, admin passwords and regenerate Zimbra related secrets.

 

/usr/local/bin/zimbra-conf DOMAIN ADMIN_PASS
# administrative user will be: admin@DOMAIN

zimbra-conf script

Hi Sir Jed,

 

Here is what I did:

 

 

# Configure Zimbra to use a new domain, admin password and regen other secrets
 
usage() {
    echo "usage: $0 mydomain.com mypass"
    echo "  var: OLD_DOMAIN"
    echo
    echo "   eg: $0 example.net p4ssw0rd"
    exit 1
}
 
save and exit restarted zimbra (/etc/init.d/zimbra restart) still showing example.com in the domains list
 
that is the only line I edited on the file do I need to edit more of the lines or uncomment other lines.
 
My apologies if this has been tackled on previous post, I am just new and want to learn more.
 
 
Thanks!
Jonathan Ate

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)