Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
  #11 (permalink)  
Old 04-08-2008, 02:25 PM
dpmchris dpmchris is offline
Member
 
Join Date: Nov 2007
Location: Chicago
ZCS Version: Version 5.0.4_GA_2101.MACOSXx86.NETWORK Mar 21, 2008
Posts: 19
dpmchris is on a distinguished road
Default To answer your previous question...

Sorry I didn't actually answer you previous question. The emails I tried had no accents infact most of them were subject: 'Test' with message body "Test".


Thanks again,
Chris
Reply With Quote
  #12 (permalink)  
Old 04-09-2008, 01:50 PM
tshelton tshelton is offline
Junior Member
 
Join Date: Mar 2008
Location: Dallas Texas
ZCS Version: Release 5.0.2_GA_1975.RHEL5_64_20080130215245 RHEL5_64 NETWORK edition
Posts: 1
tshelton is on a distinguished road
Default EML is in the works

Frank Harrison is working on making this save in EML format. Since we only use Firefox that will be the first priority.
Reply With Quote
  #13 (permalink)  
Old 05-20-2008, 01:01 AM
lfasci lfasci is offline
Senior Member
 
Join Date: Jul 2006
Posts: 53
lfasci is on a distinguished road
Default

You can download a zimlet for mail and folder backup from
:: Seacom blog > Zimbra :: the zimlet is imlet Folder Backup
More instructions in the zip file.
__________________
http://www.seacom.it
Reply With Quote
  #14 (permalink)  
Old 05-20-2008, 08:28 AM
tdesorbaix tdesorbaix is offline
Senior Member
 
Join Date: Apr 2007
Location: Paris, France
ZCS Version: Release 5.0.4_GA_2101.RHEL4_20080321132418 CentOS4 NETWORK edition
Posts: 83
tdesorbaix is on a distinguished road
Default

Good job.
It is just a bit sad that it doesn't handle multiple emails and conversation.
I know, it is because REST API don't handle it yet.

Just 2 things that i noticed :
-In your readme.txt :
Quote:
The exported file name, due to a ZCS bug, is always items.zip.
This is not a bug, it is just implemented this way for now in the zip formatter :
Code:
            // TODO: get name from folder/search/query/etc
            String filename = context.hasPart() ? "attachments.zip" : "items.zip";
            String cd = Part.ATTACHMENT + "; filename=" + HttpUtil.encodeFilename(context.req, filename);
            context.resp.addHeader("Content-Disposition", cd.toString());
            context.resp.setContentType("application/x-zip-compressed");
-Correct me if I'm wrong but you could use a more simple REST URL in your js file :
Intead of :
Code:
var bckRestUrl = "/zimbra/user/" + user + "/?fmt=zip&query=in:(" + this.buildBackupString(folderPath) + "\)";
You could use :
Code:
var bckRestUrl = "service/home/~/?fmt=zip&id=" + obj.id ;
Reply With Quote
  #15 (permalink)  
Old 05-20-2008, 08:42 AM
lfasci lfasci is offline
Senior Member
 
Join Date: Jul 2006
Posts: 53
lfasci is on a distinguished road
Default

For the file name I oened a bug becaus it's useful tho have the zip
file name equal to the folder name

Bug 11907 - Rest export file name

You could use :
Code:
var bckRestUrl = "service/home/~/?fmt=zip&id=" + obj.id ;
[/quote]

I created this function for ZCS 4.x and recursive export did not work
on this release.
I will try if it works in zcs 5.x.

Thank you
__________________
http://www.seacom.it
Reply With Quote
  #16 (permalink)  
Old 05-20-2008, 09:19 AM
tdesorbaix tdesorbaix is offline
Senior Member
 
Join Date: Apr 2007
Location: Paris, France
ZCS Version: Release 5.0.4_GA_2101.RHEL4_20080321132418 CentOS4 NETWORK edition
Posts: 83
tdesorbaix is on a distinguished road
Default

Voted for the bug!

One more thing about your code :
Code:
// MAP the translated folder name with the ZCS nanme
		var transInbox = ZmMsg.inbox;
		var transTrash = ZmMsg.trash;
		var transJunk = ZmMsg.junk;
		var transSent = ZmMsg.sent;
		var transDrafts = ZmMsg.drafts;		
		// Now I replace translated labels to avoid 404 errors
		var folderPath = obj.path;
		folderPath = folderPath.replace(transInbox,'Inbox');
		folderPath = folderPath.replace(transTrash,'Trash');
		folderPath = folderPath.replace(transJunk,'Junk');
		folderPath = folderPath.replace(transSent,'Sent');
		folderPath = folderPath.replace(transDrafts,'Drafts');
You should add the Chats folder.

Last edited by tdesorbaix : 05-20-2008 at 09:25 AM.
Reply With Quote
  #17 (permalink)  
Old 05-20-2008, 09:35 AM
lfasci lfasci is offline
Senior Member
 
Join Date: Jul 2006
Posts: 53
lfasci is on a distinguished road
Default

You can drag and drop subfolders, and in the the url for italian you will see 'In arrivo' instead of 'Inbox' and this cause a 404 error so I take the label for the folder using var transInbox = ZmMsg.inbox; and replace it, this way it works for all languages.

Ok I'll wait a bi for other suggestions and then I will add chats.

Thank you for vote and suggestions, if you like you can vote for this bug
Bug 21818 - Error 404 exporting contact after translation too because is similar to the on for wich I added the code.

Bye
__________________
http://www.seacom.it
Reply With Quote
  #18 (permalink)  
Old 05-21-2008, 12:26 AM
tdesorbaix tdesorbaix is offline
Senior Member
 
Join Date: Apr 2007
Location: Paris, France
ZCS Version: Release 5.0.4_GA_2101.RHEL4_20080321132418 CentOS4 NETWORK edition
Posts: 83
tdesorbaix is on a distinguished road
Default

you didn't vote yourself for the 21818.
Another bug that should be interresting for us :
Bugzilla Bug 15161 - add a 'recursive' option for REST .zip fetch
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
need advice on configuring zimbra to work with fax server pheonix1t Administrators 0 07-11-2007 07:46 PM
upgrade to 4.0.3 antispam does'nt work lucanannipieri Administrators 14 11-07-2006 02:56 AM
Kickstart for automated installation and disaster recovery mubley Installation 19 01-10-2006 02:45 PM
Zimbra fails after working for 2 weeks Linsys Administrators 9 10-20-2005 01:26 PM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.0.0