Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3086
  • Last Modified:

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.
0
MezzutOzil
Asked:
MezzutOzil
  • 2
  • 2
1 Solution
 
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
0
 
MezzutOzilAuthor Commented:
Hi Noci,

Can I have some examples?
0
 
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....
0
 
MezzutOzilAuthor Commented:
ok
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now