How to migrate Qmail mailboxes to Zimbra?

Previously, we are using qmail - for 40 mailboxes. Now, my management has bought a ZCA - Zimbra collaboration Suite Appliance, using version - 6.0.13. This zimbra appliance is already setup, by the way, how to migrate qmail mailboxes into the zimbra?

Thanks in advance.
MezzutOzilAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nociSoftware EngineerCommented:
You may have some imap server accessing those files, in that case use IMAPSYNC.

QMAIL mostly uses maildirs (a directory with a cur, new & tmp sub directory) containing the messages. (Each message in a separate file)
So searching for maildir might deliver more like the reference below from the zimbra site.

http://wiki.zimbra.com/wiki/Maildir_to_zmmailbox_with_bash

Note that qmail CAN deliver all mails into a single large file like sendmail does. So you have to check your config.

Various migrations are described here:
http://wiki.zimbra.com/wiki/Mail_Migration
MezzutOzilAuthor Commented:
Hi Noci,

Can I have some examples?
nociSoftware EngineerCommented:
The problem is first what method to use, what format IS your old mailbox [mbox, maildir, other] , where are they? [ directories ]
---
let's assume it is a maildir...
Take this: http://wiki.zimbra.com/wiki/Maildir_to_zmmailbox_with_bash

Look at the code and add your own variables for [ head of script ]:
# base folder where msgs will be imported
BFOLDER="old-mbox"
ZMMBOX="/opt/zimbra/bin/zmmailbox"
BDIR=$(pwd)

If you then run the script it will tell you what it intends to do, you can then press enter to continue or ^C to abort...
Please read the script....

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MezzutOzilAuthor Commented:
ok
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.