Forum: 

Zimbra Password

Don Kidder's picture

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.

 

Jonathan Ate's picture

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 Davis's picture

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
Jonathan Ate's picture

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