Page 6 of 8 FirstFirst ... 45678 LastLast
Results 51 to 60 of 78

Thread: Importing Exsisting Folders/Messages/Address books

  1. #51
    fmodola is offline Special Member
    Join Date
    Feb 2006
    Location
    France (Haute-Savoie)
    Posts
    123
    Rep Power
    9

    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) ?

  2. #52
    gfdos.sys is offline Senior Member
    Join Date
    Sep 2005
    Location
    Buffalo, NY
    Posts
    65
    Rep Power
    9

    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/'

  3. #53
    fmodola is offline Special Member
    Join Date
    Feb 2006
    Location
    France (Haute-Savoie)
    Posts
    123
    Rep Power
    9

    Default

    Thanks for the answer, i'll try this asap.

  4. #54
    gfdos.sys is offline Senior Member
    Join Date
    Sep 2005
    Location
    Buffalo, NY
    Posts
    65
    Rep Power
    9

    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

  5. #55
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    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.
    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!

  6. #56
    xinfo is offline Starter Member
    Join Date
    May 2006
    Posts
    1
    Rep Power
    9

    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 ?

  7. #57
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    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.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  8. #58
    fmodola is offline Special Member
    Join Date
    Feb 2006
    Location
    France (Haute-Savoie)
    Posts
    123
    Rep Power
    9

    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 ???

  9. #59
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,504
    Rep Power
    57

    Default

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


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #60
    fmodola is offline Special Member
    Join Date
    Feb 2006
    Location
    France (Haute-Savoie)
    Posts
    123
    Rep Power
    9

    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.

Page 6 of 8 FirstFirst ... 45678 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Importing Address Books & Calendars via CLI
    By shideg in forum Administrators
    Replies: 1
    Last Post: 11-14-2006, 02:20 PM

Posting Permissions

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