I've got quite a complicated migration on my hands and need some insight.
Running Zimbra 5.0.2 open source on an ubuntu 6.06 LTS server distro (GNOME+minimum deps)
Everything seems to be working well. The previous server was a temporary solution and it crashed and burned. It was running FC8 sendmail + dovecot imap with the mbox format. It's predecessor was running a similar setup on RHEL 3.
When the RHEL box went down we hard copied all the files to the newer temp box and set it all using the old dirs to populate the new server. It mostly worked, but some of the users imap folders never got properly put in the new mbox format.
What this means is some users have a standard mbox config as /home/user/mail/ and some have an empty mbox and their old imap folders are sitting in /home/user/ instead of in the /home/user/mail/ where they belong.
imapsync is not an option as the temp server is now as toast as its predecessor. But I did manage to rescue the files again and have them on the new zimbra server sitting in /oldhome.
Is there a way to use zmlmtpinject to restore all the original messages from both sets of folders so that they reappear in the new zimbra inbox with the original to/from headers?
The users have stated they don't care about preserving the folders themselves and are happy to recreate the imap folder structures they want, but need to be able to read the messages in their original state in order to organize them properly.
I would like to write a script that uses zmlmptinject to take whatever mbox folder i can throw at it, parse the messages and just reprocess them through the queue to the new zimbra inbox, is this possible??
(keep in mind the mbox dirs are just files of cat'd emails)
Dying to figure this out (got 200 email users looking for old emails asap)


LinkBack URL
About LinkBacks




assword --data-binary @/tmp/rfc822.txt

