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 Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-06-2010, 08:49 AM
Trained Alumni
 
Posts: 336
Default Working around bug 44857 - Sent mail with child accounts

Don't know if anyone is interested, but I'm sharing anyway.

A customer of mine is affected by bug
Bug 44857 – Mail in wrong 'sent' folder in family mailbox.
which causes not so few troubles.

So, since the bug is scheduled for 6.0.7 only, which means at least one month if not two, I decided to find a workaroud.
So after some troubleshooting, I managed to adapt and modify the zmcopyfolder perl script I found here.

I attached the file here to this thread. Feel free to test (at your own risk! as always) and report back.

From the original script, this one
  • handle mails with attachments
  • allows copying from query instead of whole folder

Also beware, there's a little change in mail source syntax.

I'm not very good at perl, so I guess it can be improved a lot.
I can provide diff from the original, if anyone...


zmcopyfolder.gz
__________________
YetOpen S.r.l. ~ Your open source partner
Lecco (LC) - ITALY
http://www.yetopen.it
Reply With Quote
  #2 (permalink)  
Old 04-07-2010, 03:31 AM
Trained Alumni
 
Posts: 336
Default

I did a little modification to the script, to implement flags copying, and to exit immediately if there's nothing to copy (speeds up a lot for my scope).

zmcopyfolder.gz
__________________
YetOpen S.r.l. ~ Your open source partner
Lecco (LC) - ITALY
http://www.yetopen.it

Last edited by maxxer; 04-07-2010 at 05:33 AM.. Reason: updated attachment
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.