Results 1 to 3 of 3

Thread: Importing all mail from single user on postfix

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Rep Power

    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.

    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?

    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.

  2. #2
    Join Date
    Nov 2007
    Rep Power


    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 ).

  3. #3
    Join Date
    Oct 2008
    Rep Power


    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.


    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.

Similar Threads

  1. smtp auth failing 'auth_zimbra: not initialized'
    By kkg039 in forum Administrators
    Replies: 7
    Last Post: 09-05-2013, 11:10 AM
  2. Replies: 7
    Last Post: 02-03-2011, 06:01 AM
  3. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 04:42 PM
  4. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 11:44 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts