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 12-07-2007, 11:20 AM
Starter Member
 
Posts: 2
Default Single-Copy Message Store and imapsync

Will transferring messages to Zimbra using imapsync create a single copy of messages sent to multiple users on the same server?
Reply With Quote
  #2 (permalink)  
Old 12-07-2007, 12:00 PM
Zimbra Employee
 
Posts: 1,434
Default

No, imapsync does not preserve the single-copy store.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 12-08-2007, 12:37 AM
Starter Member
 
Posts: 2
Default

I figured the MTA was responsible for this function. Is it a feature of Postfix?

Is there a way to rebuild the single-message store?

I am thinking about whipping up a Perl script to find messages in the message store that are the same and rebuilding the hard links. Do you see any issue with doing this?
Reply With Quote
  #4 (permalink)  
Old 12-08-2007, 11:55 AM
Outstanding Member
 
Posts: 708
Default

It's a feature of the tomcat/mailboxd backend.

Rather than writing your own, look at freedups file listing

Unless the other end of the imapsync was also a single-instance store, you're unlikely to get much. The messages truly need to be *identical*, down to the final Received: header and delivery time.
Reply With Quote
  #5 (permalink)  
Old 08-02-2008, 02:38 PM
Senior Member
 
Posts: 54
Default

If imapsync essentially breaks the single message store, what is the recommendation on migrating a reasonably large set of mailboxes with a large number of shared mails? Does the exchange migration utility preserve the single store?

In my case, I've got ~100 mailboxes totaling more than 60GB that are chock-full of distribution-list and other mails stored on disk only once. If 25% of the mails are multi-instance-single-stored in the source mail server (ours could be more), that could throw off the storage calculations pretty badly...

-Mike
Reply With Quote
  #6 (permalink)  
Old 08-02-2008, 03:04 PM
Outstanding Member
 
Posts: 708
Default

Import wizards won't change the dedupe story on the Zimbra server end.

If you've really got 25% shared mail to a large number of recipients and the distribution list messages contain attachments as big or bigger than personal messages, then indeed you do have a (very unusual) problem. I'm skeptical that it's as big a problem as you think, but I can think of a few workarounds.

If the RFC822 message content that you can get out of Exchange is really *identical*, then you can probably de-duplicate retroactively with a program like hardlink or freedups. Migrate (portions of) two accounts and compare the "View Source" of each. I'd worry that Exchange or the import process would alter something in the headers. Try both imapsync and the import wizard to see if their behavior is different. If you can manage to end up with perfect duplicate blobs in different accounts, then pointing freedups at /opt/zimbra/store will recover disk space.

If freedups won't work for you and you have a particular sender or subject that has filled everyone's mailbox with crap, you can tell imapsync to ignore it, make a shared mailbox including all of the distribution list's mail, and subscribe everyone to that shared mailbox.

Storage technologies exist that virtualize and de-duplicate based on file-level or block-level content. They are mostly targeted at archive and backup, but NetApp advertises this for primary storage. Buzzphrases include "content-based addressing" and "global compression." These solutions tend to be far more expensive than would be justified for only 60GB, but if you're in the market for storage for other purposes, take a look.

Last and least attractively, you could ask people to move bulk list mail to local PST folders, and only migrate what remains on the server.

Last edited by Rich Graves; 08-02-2008 at 03:13 PM..
Reply With Quote
  #7 (permalink)  
Old 01-16-2009, 09:28 AM
Special Member
 
Posts: 113
Default

hello everybody,

just to be sure.

zimbra support's
Single-Copy Message Store (or singleinstancestore as called on Cyrus imapd), if delivered eMails via smtp to zimbra
does this work out of the box or must it get activated?
especially if always_bcc is activated on Postfix?

after moving a cyrus with imapsync to zimbra it is save to run freedups on /opt/zimbra/store

greetings
thomas

Last edited by stegbth; 01-16-2009 at 09:44 AM..
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.