Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

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 (4) Thread Tools Display Modes
  #71 (permalink)  
Old 02-06-2009, 03:18 PM
Banned
 
Posts: 4
Default

You should add --nosyncacls:

imapsync --nosyncacls --syncinternaldates
--host1 server.gtds.lan --user1 yourAccount --password1 yourPassword
--host2 zimbra.gtds.lan --user2 yourZimbraAccount --password2 yourZimbraPassword

ZCS' IMAP implementation has no acl related capabilities. Hence don't waste efforts with that.
Reply With Quote
  #72 (permalink)  
Old 04-08-2009, 11:53 AM
bmw bmw is offline
Senior Member
 
Posts: 74
Question Briefcase - Importing 200k files using python w/ curl script

Your help is most appreciated.
Okay, messages, contacts, calendars, pretty easy to import and is pretty stable.

But what about importing a large file store that was a shared company drive into Briefcase?

I have been trying every which way to get this done without having to do it manually.
This file store is over 200,000 files with an extensive taxonomy of (sub)folders.

First I tar-gzip (.tgz) the entire drive. Then I try to just use the import-export function from within a Zimbra account that I am using to perform all the systemwide shares.

What's funny is that the import function does the job and results all the folders in the correct structure but no files whatsoever.

I could drag-and-drop but that would take me a week to do. So, my network guru built a python script using curl as the vehicle to pass the files to Zimbra (attached with added .txt so it doesn't run on you.) Now, it works but only to a point.

When you import a file into Zimbra or use the drag-and-drop Zimlet and Firefox XPI, Zimbra adds a companion file with the extension *.meta that has the mime-type and other information. This is essential for a working file in the Briefcase. It also allows the correct icon to show up in front of the file for the correct application association that Firefox can recognize.

Using this python script, as I said it does work but Zimbra doesn't create those *.meta companion files on the import.

It's a fairly simple affair but we just don't know enough about the innards of Zimbra to be able to make it work.

You help is most appreciated.
Attached Files
File Type: txt put.py.txt (2.1 KB, 65 views)

Last edited by bmw : 04-10-2009 at 01:48 PM.
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0