Results 1 to 2 of 2

Thread: Import to Zimbra Desktop local folders - Date issue

  1. #1
    Join Date
    Jul 2010
    Posts
    17
    Rep Power
    5

    Default Import to Zimbra Desktop local folders - Date issue

    Hi there,

    We have a lot of thunderbird clients that I'd like to migrate to Zimbra Desktop. Those clients usually handle part of their mails using imap on the zimbra server and part in their local folders as mbox files. I'd like to import those local mbox files to the local folders in zimbra desktop.

    In order to get them into zimbra, I did two things:
    1. I installed the perl tool mb2md to transform the mbox folders into maildir format.
    2. I wrote a bash script which transforms the maildir structure generated by mb2md into an importable tgz file that can be imported using zimbra desktop at "Preferences" -> "Local Folders" -> "Import/Export".

    This works nicely. Unfortunately, the "received date" as shown in zimbra desktop's mail list is the date of import instead of the actual date the mail was received. I already searched the forum for a solution and found a promising header extension, X-Zimbra-Received:, but injecting that header to each mail with the same value as the Date: Header didn't change anything.

    Any suggestions on know how I could make zimbra desktop keep the original date for the imported mails? Btw: I do not want to use imap, because that would take too much time for each import. I'd also prefer not to alter zimbra's database.

  2. #2
    Join Date
    Jul 2010
    Posts
    17
    Rep Power
    5

    Default

    I solved the problem myself. Zimbra Desktop seems to just look at the mtime of each .eml file. I wrote a python script that does (almost) everything, see http://www.zimbra.com/forums/general...-eml-tree.html

Similar Threads

  1. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 11:13 AM
  2. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  3. Big Fubar on 5 FOSS GA Upgrade
    By uxbod in forum Administrators
    Replies: 24
    Last Post: 01-21-2008, 03:37 AM
  4. Replies: 22
    Last Post: 12-02-2007, 05:05 PM
  5. Replies: 8
    Last Post: 02-27-2007, 04:10 AM

Tags for this Thread

Posting Permissions

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