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

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 01-09-2010, 03:38 AM
Loyal Member
 
Posts: 82
Default Imapsync syncing only inbox folder not "SENT" folder

i am using to imapsync to sync emails from my old linux box to zimbra.Problem is that my inbox mails are synced but my "sent items",trash folder are not synced.

Here is the imapsync command

#/usr/bin/imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 mail.mydomain.com --user1 ithelpdesk --password1 mypassword --noauthmd5 --host2 mail2.mydomain.com --user2 ithelpdesk --password2 mypassword --noauthmd5

please help me to resolve my problem.its second time i am posting this query.thanks in advance

Some logs after resynced my account folder

From state Authenticated
To state Authenticated
From separator and prefix : [.][]
To separator and prefix : [/][]
++++ Calculating sizes ++++
From Folder [INBOX] Size: 46396976 Messages: 357
Total size: 46396976
Total messages: 357
Time : 0 s
++++ Calculating sizes ++++
To Folder [INBOX] Size: 46396976 Messages: 357
Total size: 46396976
Total messages: 357
Time : 2 s
++++ Listing folders ++++
From folders list : [INBOX]
To folders list : [INBOX]
++++ Looping on each folder ++++
From Folder [INBOX]
To Folder [INBOX]
++++ From [INBOX] Parse 1 ++++
++++ To [INBOX] Parse 1 ++++
++++ Verifying [INBOX] -> [INBOX] ++++
Time : 78 s
++++ Statistics ++++
Time : 80 sec
Messages transferred : 0
Messages skipped : 357
Total bytes transferred: 0
Total bytes skipped : 46396976
Total bytes error : 0
Detected 0 errors


thanks & regards.
Reply With Quote
  #2 (permalink)  
Old 01-09-2010, 04:17 AM
Loyal Member
 
Posts: 82
Default

when i use --folder SENT in imapsync

#/usr/bin/imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --host1 mail.mydomain.com --user1 ithelpdesk --password1 mypassword --noauthmd5 --host2 mail2.mydomain.com --user2 ithelpdesk --password2 mypassword --noauthmd5 --folder SENT

i get following message. SNET folder dosn't exist


From state Authenticated
To state Authenticated
From separator and prefix : [.][]
To separator and prefix : [/][]
++++ Calculating sizes ++++
From Folder [SENT] does not exist yet
Total size: 0
Total messages: 0
Time : 2 s
++++ Calculating sizes ++++
To Folder [SENT] Size: 29153 Messages: 3
Total size: 29153
Total messages: 3
Time : 0 s
++++ Listing folders ++++
From folders list : [SENT]
To folders list : [SENT]
++++ Looping on each folder ++++
From Folder [SENT]
To Folder [SENT]
From Folder SENT : Could not select 13 NO Mailbox doesn't exist: SENT

++++ Statistics ++++
Time : 2 sec
Messages transferred : 0
Messages skipped : 0
Total bytes transferred: 0
Total bytes skipped : 0
Total bytes error : 0
Detected 1 errors
Reply With Quote
  #3 (permalink)  
Old 01-10-2010, 11:57 PM
Elite Member
 
Posts: 338
Default

Did you try to not use --subscribe option?
if you use --folder option, I think you should use with "Sent" folder, not "SENT" folder
And the last question, which old mailserver did you use?
Reply With Quote
  #4 (permalink)  
Old 01-28-2010, 10:26 PM
Loyal Member
 
Posts: 82
Default Source & Destination SENT Folders are retriving But?unable to Sync

Quote:
Originally Posted by dalmate View Post
Did you try to not use --subscribe option?
if you use --folder option, I think you should use with "Sent" folder, not "SENT" folder
And the last question, which old mailserver did you use?
Hi,I also not use subscribe option, and --folder SENT ,But it make no differance,

When i see logs during running impamsync command
#/usr/bin/imapsync --buffersize 8192000 --nosyncacls --syncinternaldates --host1 mail.mydomain.com --user1 farrukhndm --password1 mypassword --noauthmd5 --host2 mail2.mydomain.com --user2 farrukhndm --password2 mypassword --noauthmd5 --subscribe

From state Authenticated
To state Authenticated
From separator and prefix : [.][]
To separator and prefix : [/][]
++++ Calculating sizes ++++
From Folder [Drafts] Size: 1082 Messages: 1
From Folder [INBOX] Size: 602174386 Messages: 1227
From Folder [INBOX.Drafts] Size: 8054 Messages: 3
From Folder [INBOX.Sent] Size: 5146018 Messages: 141
From Folder [INBOX.Trash] Size: 24266 Messages: 2
From Folder [Junk E-mail] Size: 0 Messages: 0
From Folder [Outbox] Size: 7635 Messages: 2
From Folder [Sent] Size: 847 Messages: 2
From Folder [Trash] Size: 3930 Messages: 2
Total size: 607366218
Total messages: 1380
Time : 0 s
++++ Calculating sizes ++++
To Folder [Drafts] Size: 22072 Messages: 2
To Folder [INBOX] Size: 608299155 Messages: 1234
To Folder [INBOX/Drafts] Size: 8054 Messages: 3
To Folder [INBOX/Sent] Size: 5146018 Messages: 141
To Folder [INBOX/Trash] Size: 24266 Messages: 2
To Folder [Junk E-mail] Size: 0 Messages: 0
To Folder [Outbox] Size: 7635 Messages: 2
To Folder [Sent] Size: 847 Messages: 2
To Folder [Trash] Size: 1404 Messages: 3
Total size: 613509451
Total messages: 1389
Time : 18 s
++++ Listing folders ++++


Imapsync retriving the SENT Folder of Source & Dst and showing me Both has 141 Emails.But On Zimbra mail server i have delete All Sent Emails,But Still it showing me 141 Message ?? & not syncing emails.

Where is problem ?

Thanks and Waiting.
Reply With Quote
  #5 (permalink)  
Old 01-29-2010, 10:43 AM
Moderator
 
Posts: 1,147
Default

It looks like you have two "Sent" folders. One is the real sent folder that has 2 messages in it, the other is a "Sent" subfolder to the Inbox folder. Have you tried looking there?
Reply With Quote
  #6 (permalink)  
Old 01-29-2010, 05:44 PM
Elite Member
 
Posts: 338
Default

Imapsync only sync mail from your old server to your new server (zimbra), so if you only delete mail in zimbra and run imapsync, all mail in sent folder of old server will migrate to zimbra again
And as ArcaneMagus said: you have two folders in zimbra: Sent and SENT, did you check both?
Following your log, I think imapsync did successfully its mission
Reply With Quote
  #7 (permalink)  
Old 01-31-2010, 11:22 PM
Loyal Member
 
Posts: 82
Default My Synced Sent Items are in Inbox-Sent

Great ArcaneMagus, My 'Sent' Synced Items are placed in Inbox-Sent,so i find them

again thanks.
Attached Images
File Type: jpg Inbox-Sent.jpg (42.0 KB, 159 views)
Reply With Quote
  #8 (permalink)  
Old 02-01-2010, 12:13 AM
Loyal Member
 
Posts: 82
Default Not all SENT Items from Privous account are synced.

Previously till Oct-2008 my old server was on Postfix/Squirrel mail /Dovecot. imapsync is syncing account till that date.

Aft Oct-2008 i have installed OpenWebmail Gui.i have added account in Openwebmail as PoP3.Imapsync is not syncing the SENT item which are sent from Openwebmail Pop3 Accounts.

Is there SENT folder path different in Pop3 Account in OpenWebmail.?
if yes then how can i give path of Source Sent Folder(Configured as Pop3 in openwebmail) in imapsync command?
Reply With Quote
  #9 (permalink)  
Old 02-01-2010, 10:06 AM
Moderator
 
Posts: 1,147
Default

What backend mailstore was Openwebmail using? Was it the same as the previous setup (that you say is already synced)? Or is it a different backend?
Reply With Quote
  #10 (permalink)  
Old 02-02-2010, 10:48 PM
Loyal Member
 
Posts: 82
Default

Yes, Open webmail is using same mail storage that is already synced.Openwebmail Inbox Folder Is synced with my zimbra server but Openwebmail SENT Items are not in my Zimbra Mailbox -> inbox-sent folder or root SENT folder.

imapsync only synced my Sent items,that are before Account configrations as POP3 in Openwebmail.

Where Openwebmail Pop3 Account SENT items are Stored.while inbox is stored at the same placed! why my inbox is syncing ?


[root@mail .openwebmail]# pwd
/home/username/.openwebmail
[root@mail .openwebmail]# ls
autologin.check.db history.log pop3 webaddr webdisk
db openwebmailrc release.date webcal webmail
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.