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
  #51 (permalink)  
Old 04-06-2006, 09:09 AM
Special Member
 
Posts: 123
Default

I have to test with another account to see that ... now my nsf DB has been migrated into Zimbra ...

I'm very impressed by the low disk place taken while migrating from Lotus Domino to Zimbra : under Lotus Domino, my nsf DB takes 450 MB on the server disk, under Zimbra ... only 210 MB !!! Great ...

Does Zimbra organise the IMAP synced mails the same manner than the mails received by SMTP (one instance of each mail on the disk, even if it's available for several users/accounts) ?
Reply With Quote
  #52 (permalink)  
Old 04-11-2006, 08:04 AM
Senior Member
 
Posts: 65
Talking

Quote:
Originally Posted by raj2569
This is the imapcopy log:

Code:
From software : 2 CAPABILITY
To   software : 2 CAPABILITY
From capability : QUOTA STARTTLS NAMESPACE IDLE THREAD=ORDEREDSUBJECT ACL SORT UIDPLUS CHILDREN ACL2=UNION IMAP4REV1 THREAD=REFERENCES
To   capability : ID QUOTA NAMESPACE STARTTLS IDLE LOGIN-REFERRALS UNSELECT LITERAL+ UIDPLUS CHILDREN IMAP4REV1
From separator : [.]
To   separator : [/]
++++ Calculating sizes ++++
From Folder [INBOX]                             Size:  46569342 Messages:  1585
From Folder [INBOX.Drafts]                      Size:      4079 Messages:     3
From Folder [INBOX.Junk]                        Size:      3014 Messages:     1
From Folder [INBOX.Sent]                        Size:  10812495 Messages:  1211
From Folder [INBOX.Trash]                    
++++ Calculating sizes ++++
To   Folder [Drafts]                            Size:         0 Messages:     0
To   Folder [INBOX]                             Size:  46488614 Messages:  1572
To   Folder [INBOX/Drafts]                      Size:      4079 Messages:     3
To   Folder [INBOX/Junk]                        Size:      3014 Messages:     1
To   Folder [INBOX/Sent]          
To   Folder [Junk]                              Size:         0 Messages:     0
To   Folder [Sent]                              Size:         0 Messages:     0
To   Folder [Trash]                             Size:         0 Messages:     0
It seems for zimbra all folders are in the root level rather than as subfolder of [INBOX] Any idea how to configure imapcopy not to create subfolders?

raj
The answer to this comes from the imapsync FAQ (http://www.linux-france.org/prj/imapsync/FAQ), as I was just trying to figgure this out my self:


Q. Give examples about --regextrans2

R. Examples:

1) To remove INBOX. in the name of destination folders:
--regextrans2 's/^INBOX\.(.+)/$1/'

2) To sync a complete account in a subfolder called FOO:
--regextrans2 's/^INBOX(.*)/INBOX.FOO$1/'
Reply With Quote
  #53 (permalink)  
Old 04-11-2006, 08:06 AM
Special Member
 
Posts: 123
Default

Thanks for the answer, i'll try this asap.
Reply With Quote
  #54 (permalink)  
Old 04-11-2006, 08:39 AM
Senior Member
 
Posts: 65
Exclamation Note!!!

Quote:
Originally Posted by gfdos.sys
The answer to this comes from the imapsync FAQ (http://www.linux-france.org/prj/imapsync/FAQ), as I was just trying to figgure this out my self:


Q. Give examples about --regextrans2

R. Examples:

1) To remove INBOX. in the name of destination folders:
--regextrans2 's/^INBOX\.(.+)/$1/'

2) To sync a complete account in a subfolder called FOO:
--regextrans2 's/^INBOX(.*)/INBOX.FOO$1/'

PLEASE NOTE: in practice this might be a combination of the two:
This is what I just came up with that worked-- the first one up there doesnt seem to work.... but combining the "spirit" of number 2 above with #1 I have found this(below) DOES work:

Code:
imapsync --nosyncacls --syncinternaldates 
--regextrans2 's/^INBOX.(.*)/$1/' 
--host1 $host1 --user1 "$user" --password1 "$p1" 
--host2 $host2 --user2 "$user" --password2 "$p1"
note:the "." is a concatiator symbol in a "regular expression" but in this case we want all instances of:
INBOX.* = *
But still want
INBOX = INBOX

so:
INBOX
INBOX.Drafts
INBOX.Sent
INBOX.Trash

should go to
INBOX
Drafts
Sent
Trash

if the "." is in the wrong place it tries to make INBOX* = * and then
you get:
/
Drafts
Sent
Trash

and that / = ugly mess, as none of your inbox messages make it into the inbox
Reply With Quote
  #55 (permalink)  
Old 04-11-2006, 09:30 AM
Zimbra Employee
 
Posts: 2,103
Default

Quote:
Originally Posted by gfdos.sys
PLEASE NOTE: in practice this might be a combination of the two:
This is what I just came up with that worked-- the first one up there doesnt seem to work.... but combining the "spirit" of number 2 above with #1 I have found this(below) DOES work:

Code:
imapsync --nosyncacls --syncinternaldates 
--regextrans2 's/^INBOX.(.*)/$1/' 
--host1 $host1 --user1 "$user" --password1 "$p1" 
--host2 $host2 --user2 "$user" --password2 "$p1"
note:the "." is a concatiator symbol in a "regular expression"
That's incorrect - '.' matches any single character.
Quote:
but in this case we want all instances of:
INBOX.* = *
But still want
INBOX = INBOX

so:
INBOX
INBOX.Drafts
INBOX.Sent
INBOX.Trash

should go to
INBOX
Drafts
Sent
Trash

if the "." is in the wrong place it tries to make INBOX* = * and then
you get:
/
Drafts
Sent
Trash

and that / = ugly mess, as none of your inbox messages make it into the inbox
You regex will work, though there's a difference between yours and the one you got from the examples.

Their example:
Code:
's/^INBOX\.(.+)/$1/'
Means "match, at the beginning of the string (^) the word "INBOX" followed by a literal '.' (\ escapes the '.') followed by one or more characters (.+). Replace this with the match for "one or more characters"

So INBOX.foo maps to foo, and INBOX.bar maps to bar. However, INBOXFOO still maps to INBOXFOO - which is where your example breaks:
Code:
's/^INBOX.(.*)/$1/'
Means "match, at the beginning of the string (^) the word "INBOX" followed by any character, followed by zero or more characters (.*). Replace this with the match for "zero or more characters"

So, INBOX.foo maps to foo - but INBOXfoo maps to oo, and INBOXf maps to the empty string.

Not something that you'll likely hit (the domain of folder names that will break you is pretty small), but it could haunt you.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #56 (permalink)  
Old 05-29-2006, 07:39 AM
Starter Member
 
Posts: 1
Default creating user

Hi Team

i have to create the user(in new host)before i migrate or it wwill create automatically as same in the old host ? and what about the user password ?
Reply With Quote
  #57 (permalink)  
Old 05-29-2006, 09:35 AM
Zimbra Employee
 
Posts: 4,792
Default

Quote:
Originally Posted by xinfo
Hi Team

i have to create the user(in new host)before i migrate or it wwill create automatically as same in the old host ? and what about the user password ?
You need to create the user. You can point Zimbra at your old LDAP for the password or you can have user's change their password on first login.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #58 (permalink)  
Old 10-31-2006, 06:57 AM
Special Member
 
Posts: 123
Default

Hi all,

what are the packages necessary to install IMAPsync correctly ???
I've tried to install some dependencies, but it seems to have a lot of dependencies ...
I need it to sync my old mail box on Lotus Domino 6 with my new mail box on Zimbra 4.
What's the way to make imapsync work ???
Reply With Quote
  #59 (permalink)  
Old 10-31-2006, 07:05 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

The requirements are in the imapsync install file. I'm guessing that your operating systems probably isn't up to date.
__________________
Regards


Bill
Reply With Quote
  #60 (permalink)  
Old 10-31-2006, 09:17 AM
Special Member
 
Posts: 123
Default

That's true.
We're not member of the RHN so we can't have updates ... can we ?
That's why I'm going to install gcc from the install CDs.
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.