Quote:
Originally Posted by neildomo Tried to move a huge mailbox (>20GB) from one mailserver to another in the same domain.
zmmailboxmove -a brak@pricegrabber.com -t zimbra2.domain.com
Had to leave for a while, but when I came back I'd been logged out of the system(the one time I don't use screen!). I logged back in and tried the same command again, but got the error:
Error occurred: mailbox in maintenance mode: 570
I went into the web console as zadmin, went to brak's mailbox, and changed the dropdown box from Maintenance to Active. Then I tried moving the mailbox in the gui from zimbra1 to zimbra2 and got this error:
Error code: mail.MAINTENANCE Message: mailbox in maintenance mode: 570 Details:soap:Receiver
How do I get this mailbox unstuck? I assume the mailbox is still intact on zimbra1, but what about brak's mail in the meantime?
Thanks,
Neil |
I take it you remoted in to the server via ssh?
If so, I'm guessing your ssh session timed out. So first, to prevent that from ever happening again, you can add the following line to /etc/ssh/ssh_config on your management workstation:
Code:
ServerAliveInterval 60
That will tell your ssh client to talk to the ssh server once every 60 seconds, to ensure the ssh session stays alive until you actually type "exit".
The mailbox move process as you probably know comprises putting the mailbox in maintenance mode to prevent any changes, copying the mailbox contents (not sure if the indexes are moved or simply recreated) to the new server, updating LDAP, and then destroying the mailbox on the original server.
If the copy process completed, you'll see the mailbox on the new server. I'm guessing that's not the case because I can easily see the ssh session time out before the copy is complete.
If so, then I would restore the original mailbox from backup to a prefixed mailbox and then use an IMAP client to move the contents of the restored mailbox to the new mailbox on the new server (the mailbox in which the user is currently receiving new mail).
After that, restart Zimbra on the server with the borked mailbox during your normal maintenance window. That should enable you to delete that mailbox and free up the 20+GB.
Hope that helps,
Mark
__________________
___________________________________
L. Mark Stone, CIO
"Uptime. All the time."
477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678
proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting