
Originally Posted by
myriad
The trouble is the imported email & associated folders do not show up on the Zimbra Server! Imapsync (or Zimbra) has imported the mail into "/home/rick/mail".
How do you get the imported Imap to show up in the target users account?
We use imapsync as our primary migration tool here and I have recently migrated a ton of users so I'm pretty sure I know what is going on for you.
There are two things in play here:
- the way the data was imported (i.e. the name/path of the folder on Zimbra)
- your IMAP client's path prefix or server directory or mail root (each client calls it something different)
For #1: in almost all cases you want to move someone's mail so it all appears at the "top level" of their zimbra mailbox list. It makes sense to have a mail directory in your home directory for mail, but when it gets to Zimbra having all the folders be called /home/user/mail/something, /home/user/mail/something2, /home/mail/something3, etc... isn't helpful. This means you will want to strip that prefix off all of the names. This is done using the --regextrans2 flag to imapsync:
Code:
--regextrans2 's!^/home/user/mail/(.+)!$1!'
#2 in the list above is almost always a user education (and a user error after you've taken pains to let them know about this) issue. The user will need to reconfigure his or her IMAP client to remove the setting that told the IMAP server to look in their "mail" directory. You didn't say if your users were using the web client or another IMAP client. If, for example, they were using Thunderbird, they would need to go to Tools -> Account Settings -> Server Settings -> {Advanced} -> IMAP Server directory and clear that field. (oh, and they may want to tweak the Personal Namespace settings too, but that's a Thunderbird bug of a different color).
Does that help any?
-- dNb