This weekend we moved our Zimbra server to a new server with a new name, and upgraded from 4.5.10 to 5.0.2.
The old server name was zimbra.domain.com, we moved it to a new server in a new internal namespace zimbra.domain.org.
We're keeping the email addresses intact and made no other changes except for the server name, and in doing so following the best practices outlined in the wiki and in some forum posts here. Additionally we ran through two dry runs in this with a copy of the production server in the lab just to be safe.
All accounts moved properly and had no issues accessing their mail with the exception of one account. Upon inspection with zmprova ga, it was determined that for some reason it zimbraMailHost and zimbraMailTransport were still pointing to the old server name. We checked all other accounts and found this was the only account set this way.
Bad Account:
Code:
$ zmprov -l -v ga bad.account@zimbra.domain.com zimbraMailHost
# name bad.account@zimbra.domain.com
zimbraMailHost: zimbra.domain.com
$ zmprov -l -v ga bad.account@zimbra.domain.com zimbraMailTransport
# name bad.account@zimbra.domain.com
zimbraMailTransport: lmtp:zimbra.domain.com:7025
Working Account:
Code:
$ zmprov -l -v ga good.account@zimbra.domain.com zimbraMailHost
# name good.account@zimbra.domain.com
zimbraMailHost: zimbra.domain.org
$ zmprov -l -v ga good.account@zimbra.domain.com zimbraMailTransport
# name good.account@zimbra.domain.com
zimbraMailTransport: lmtp:zimbra.domain.org:7025
Attempted:
I attempted to change both the zimbraMailTransport and the zimbraMailHost settings to match a known good account without success:
Code:
$ zmprov -l -v ma bad.account@zimbra.domain.com zimbraMailTransport lmtp:zimbra.domain.org:7025
Was successful, however the following failed:
Code:
$ zmprov -l -v ma bad.account@zimbra.domain.com zimbraMailHost zimbra.domain.org
ERROR: service.INVALID_REQUEST (invalid request: current value of zimbraMailHost does not match zimbraMailTransport)
com.zimbra.common.service.ServiceException: invalid request: current value of zimbraMailHost does not match zimbraMailTransport
Code:service.INVALID_REQUEST
at com.zimbra.common.service.ServiceException.INVALID_REQUEST(ServiceException.java:190)
at com.zimbra.cs.account.callback.MailHost.preModify(MailHost.java:93)
at com.zimbra.cs.account.AttributeManager.preModify(AttributeManager.java:577)
at com.zimbra.cs.account.ldap.LdapProvisioning.modifyAttrs(LdapProvisioning.java:267)
at com.zimbra.cs.account.ldap.LdapProvisioning.modifyAttrs(LdapProvisioning.java:249)
at com.zimbra.cs.account.ProvUtil.execute(ProvUtil.java:473)
at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java:1724) I tried various combinations of setting both zimbraMailTransport and zimbraMailHost with out success.
This is, of course, the president of the company having the problem. No other users have any issues accessing their mailboxes.
Additionally, I am unable to modify this account in the admin gui:
Code:
Command sent to the wrong host.
Details:
soap:Sender
Which makes sense since it's trying to send to zimbra.domain.com which no longer exists. I tried re-pointing the DNS and even created a HOSTS file so that it could reach the new server (zimbra.domain.org), however this did not appear to help.
This is a high priority since it's toally unusable for a VIP. I should be able to change that setting however zmprov is preventing me from doing so, complaining that zimbraMailTransport doesn't match. I even tried to set zimbraMailTransport as zimbra.domain.org, just to see if having it the same name would help, it did not.
I also opened a ticket with Zimbra support, but was hoping someone here had a clue of how I could change zimbraMailHost.
Thanks,
illc0mm