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 11-25-2011, 02:00 AM
Junior Member
 
Posts: 5
Default Problems with imapsync

Please help me with imapsync.

Old Server : Kerio Mail Server
New Server : Zimbra ZCS-7.1.0_GA_3140.UBUNTU10_64

When i try to imapsync , i did successfully for a few times with some accounts, but after changing the zimbraFileUploadMaxSize it gives me an error:

Code:
++++ Listing folders ++++
From folders list: [Avizari Ghighiu] [Deleted Items] [Drafts] [INBOX] [Junk E-mail] [Public Folders/IT] [Public Folders/Structura organizatorica] [Reparate DARC] [Repartizare defecte] [Repatriere vagoane] [Sent Items]
To   folders list: [Avizari Ghighiu] [Chats] [Contacts] [Drafts] [Emailed Contacts] [INBOX] [Junk] [Sent] [Trash]
++++ Looping on each folder ++++
From Folder [Avizari Ghighiu]
To   Folder [Avizari Ghighiu]
++++ From [Avizari Ghighiu] Parse 1 ++++
++++ To   [Avizari Ghighiu] Parse 1 ++++
++++ Verifying [Avizari Ghighiu] -> [Avizari Ghighiu] ++++
+ NO msg #1 [fP0oW3Fg/H8CgC6hM4MkKA:26983] in Avizari Ghighiu
+ Copying msg #1:26983 to folder Avizari Ghighiu
flags from: [\Seen]["27-Sep-2011 15:35:31 +0200"]
Couldn't append msg #1 (Subject:[Avizare manevra Ghighiu]) to folder Avizari Ghighiu: 25 NO maximum message size exceeded
+ NO msg #2 [/qgsGhYCsNamNlTEE64S/Q:1162] in Avizari Ghighiu
+ Copying msg #2:1162 to folder Avizari Ghighiu
flags from: [\Seen]["27-Sep-2011 14:19:23 +0200"]
Couldn't append msg #2 (Subject:[Fw: Avizare manevra Ghighiu]) to folder Avizari Ghighiu: 26 NO maximum message size exceeded
+ NO msg #3 [PJJEEPzDkgdnutICYUYbVw:16163] in Avizari Ghighiu
+ Copying msg #3:16163 to folder Avizari Ghighiu
flags from: [\Seen]["27-Sep-2011 13:56:53 +0200"]
Couldn't append msg #3 (Subject:[Avizare manevra Ghighiu]) to folder Avizari Ghighiu: 27 NO maximum message size exceeded
+ NO msg #4 [RH5gvtTuhUb2zIVJ303ogA:716] in Avizari Ghighiu
+ Copying msg #4:716 to folder Avizari Ghighiu
flags from: [\Seen $Forwarded]["27-Sep-2011 10:48:40 +0200"]
Couldn't append msg #4 (Subject:[Avizare manevra Ghighiu]) to folder Avizari Ghighiu: 28 NO maximum message size exceeded
+ NO msg #5 [hqlQO2Fwf6uLP3WoMWWgXw:556701] in Avizari Ghighiu
+ Copying msg #5:556701 to folder Avizari Ghighiu
flags from: [\Seen]["27-Sep-2011 07:39:24 +0200"]
Couldn't append msg #5 (Subject:[Avizare manevra Ghighiu]) to folder Avizari Ghighiu: 29 NO maximum message size exceeded
+ NO msg #6 [IPiBN8nDlPedKsfweRnm4w:20922] in Avizari Ghighiu
+ Copying msg #6:20922 to folder Avizari Ghighiu
flags from: [\Seen]["26-Sep-2011 16:31:09 +0200"]
Couldn't append msg #6 (Subject:[Fw: Avizare manevra Ghighiu]) to folder Avizari Ghighiu: Error sending '30 APPEND "Avizari Ghighiu" (\Seen) "26-Sep-2011 16:31:09 +0200" {20922}': * BYE mbox.grampet.com Zimbra IMAP4rev1 server closing connection
+ NO msg #7 [v8cww6qvMLnHTEP9cjxjYQ:916] in Avizari Ghighiu
+ Copying msg #7:916 to folder Avizari Ghighiu
++++ End looping on each folder ++++
error: lost connection (to) host2 [93.114.80.10](len=155) Error sending '30 APPEND "Avizari Ghighiu" (\Seen) "26-Sep-2011 ... BYE mbox.grampet.com Zimbra IMAP4rev1 server closing connection
++++ Statistics ++++
Time                   : 3 sec
Messages transferred   : 0
Messages skipped       : 0
Total bytes transferred: 0
Total bytes skipped    : 0
Total bytes error      : 622647
Detected 7 errors

My mailbox.log shows :

Code:
2011-11-25 11:21:00,154 INFO  [ImapSSLServer-1] [ip=93.114.80.10;] cache - initializing folder and tag caches for mailbox 9
2011-11-25 11:21:00,224 INFO  [ImapSSLServer-1] [ip=93.114.80.10;] mbxmgr - Mailbox 9 account 6615be20-6d2f-4f1e-9da2-dd52b17b7566 LOADED
2011-11-25 11:21:00,224 INFO  [ImapSSLServer-1] [name=vivi.ivan@gfr.ro;ip=93.114.80.10;] imap - user vivi.ivan@gfr.ro authenticated, mechanism=PLAIN [TLS]
2011-11-25 11:21:01,338 INFO  [ImapSSLServer-1] [name=vivi.ivan@gfr.ro;ip=93.114.80.10;] imap - selected folder Avizari Ghighiu
2011-11-25 11:21:01,340 INFO  [ImapSSLServer-1] [name=vivi.ivan@gfr.ro;mid=9;ip=93.114.80.10;] imap - STATUS failed: no such folder: Deleted Items
2011-11-25 11:21:01,356 INFO  [ImapSSLServer-1] [name=vivi.ivan@gfr.ro;mid=9;ip=93.114.80.10;] imap - selected folder Drafts
2011-11-25 11:21:01,360 INFO  [ImapSSLServer-1] [name=vivi.ivan@gfr.ro;mid=9;ip=93.114.80.10;] imap - selected folder INBOX
2011-11-25 11:21:01,361 INFO  [ImapSSLServer-1] [name=vivi.ivan@gfr.ro;mid=9;ip=93.114.80.10;] imap - STATUS failed: no such folder: Junk E-mail
2011-11-25 11:21:01,362 INFO  [ImapSSLServer-1] [name=vivi.ivan@gfr.ro;mid=9;ip=93.114.80.10;] imap - STATUS failed: no such folder: Public Folders/IT
2011-11-25 11:21:01,364 INFO  [ImapSSLServer-1] [name=vivi.ivan@gfr.ro;mid=9;ip=93.114.80.10;] imap - STATUS failed: no such folder: Public Folders/Structura organizatorica
2011-11-25 11:21:01,365 INFO  [ImapSSLServer-1] [name=vivi.ivan@gfr.ro;mid=9;ip=93.114.80.10;] imap - STATUS failed: no such folder: Reparate DARC
2011-11-25 11:21:01,366 INFO  [ImapSSLServer-1] [name=vivi.ivan@gfr.ro;mid=9;ip=93.114.80.10;] imap - STATUS failed: no such folder: Repartizare defecte
2011-11-25 11:21:01,367 INFO  [ImapSSLServer-1] [name=vivi.ivan@gfr.ro;mid=9;ip=93.114.80.10;] imap - STATUS failed: no such folder: Repatriere vagoane
2011-11-25 11:21:01,368 INFO  [ImapSSLServer-1] [name=vivi.ivan@gfr.ro;mid=9;ip=93.114.80.10;] imap - STATUS failed: no such folder: Sent Items
2011-11-25 11:21:01,477 INFO  [ImapSSLServer-1] [name=vivi.ivan@gfr.ro;mid=9;ip=93.114.80.10;] imap - selected folder Avizari Ghighiu
2011-11-25 11:21:02,083 INFO  [ImapSSLServer-1] [] imap - dropping connection for user vivi.ivan@gfr.ro (server-initiated)
2011-11-25 11:21:02,084 INFO  [ImapSSLServer-1] [] ProtocolHandler - Handler exiting normally

I changed the max message size limit, the max imap connections , etc , ulimit, but nothing of theese forums helped. I still have the error :

"error: lost connection (to) host2 [93.114.80.10](len=155) Error sending '30 APPEND "Avizari Ghighiu" (\Seen) "26-Sep-2011 ... BYE mbox.grampet.com Zimbra IMAP4rev1 server closing connection"

Please anyone can help ? It's a bit urgent.
Reply With Quote
  #2 (permalink)  
Old 11-25-2011, 02:12 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

The obvious bit of information you've missed out is what's the exact size you've set for the max message size and what's the size of the attachment that's being rejected?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-25-2011, 02:21 AM
Junior Member
 
Posts: 5
Default

I have set 0 to all values. ( unlimited i suppose ) My attachments are no longer than 20 Mb. Is not that error i am talking about. The error is

"error: lost connection (to) host2 [93.114.80.10](len=155) Error sending '30 APPEND "Avizari Ghighiu" (\Seen) "26-Sep-2011 ... BYE mbox.grampet.com Zimbra IMAP4rev1 server closing connection"

About attachments, is not a problem, i can live without them. But i can't sync anymore messages, any messages.
Reply With Quote
  #4 (permalink)  
Old 11-25-2011, 02:52 AM
Junior Member
 
Posts: 5
Default

I solved out somehow, it seems that one of :

Code:
zimbraMailContentMaxSize
zimbraFileUploadMaxSize
zimbraMtaMaxMessageSize
Should NOT be 0. 0 means literaly 0 not unlimited, so any message would not be copied. So, it seems that one generated the error for closing the connection, because any message sent to mta > 0 will get the server close the connection after a few retries.

Thank you very much for the help it's now solved.
Reply With Quote
  #5 (permalink)  
Old 11-25-2011, 04:37 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by zeppyk View Post
Should NOT be 0. 0 means literaly 0 not unlimited, so any message would not be copied.
That's correct, the setting is for defining the maximum size of an upload to the server (for each of those variables) and in this case the size you're defining is a maximum of "zero bytes" and therefore everything will fail.
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 05-04-2012, 06:07 AM
Elite Member
 
Posts: 296
Default

Which is the correct value to be used to set *unlimited*? -1 instead of 0 ?
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.