Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-01-2008, 05:12 PM
Junior Member
 
Posts: 6
Default Importing all mail from single user on postfix

My issues are pretty simple, but I can't seem to find the proper solution here. We've moved most everyone to Zimbra and there are a few people who had regular POP accounts on an old postfix server NOT running IMAP using MailDir format.

#1
Is it possible to maybe tar up that users MailDir directory , move it to the Zimbra server and then import all host mails somehow to their Zimbra account?

#2
Same question as above but importing from a VERY old mbox format where all the mail was in one big file. We have 2 people with that.

Everything I see here is related to migrating IMAP accounts, thus I post the question.
Reply With Quote
  #2 (permalink)  
Old 10-02-2008, 07:50 AM
Active Member
 
Posts: 36
Default

you can migrate by pop3 using pop2imap ( see this wiki page User Migration - Zimbra :: Wiki ), you need to have all accounts created early in your zimbra box ( you can use a script too for this ).
Reply With Quote
  #3 (permalink)  
Old 10-02-2008, 10:44 AM
Junior Member
 
Posts: 6
Default

Thank you for the point in the right direction. After playing with it a little bit I was able to get the account moved.

Just in case anyone else needs some help there were a few things I had to do that weren't really documented very well.

First off, if you're using a standard load of CentOS you'll need to install some perl modules. Using the ' cpan ' tool makes this easy.

Mail::IMAPClient
Mail::POP3Client
Email::Simple
Date::Manip
IO::Socket::SSL

Once you have that done you'll still get an error:
Name "Mail::IMAPClient::Ssl" used only once: possible typo at pop2imap line 502.
when running the script but in my case everything seemed to work anyway...

The syntax examples it gives don't actually tell you that --passfile1 & --passfile2 are looking for an actual text file with the password in plain text.

The FOLDER you plan on moving everything to on the IMAP server needs to ALREADY exist or the script will fail.

Lastely you have to ENABLE Clear Text Login for IMAP in your Zimbra Admin or the script fails. Once you're done you can Disable the Clear Text Login again.

Other than those little notes it was pretty easy and got the job done.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.