Results 1 to 6 of 6

Thread: Problems with imapsync

  1. #1
    zeppyk is offline Junior Member
    Join Date
    Nov 2011
    Posts
    5
    Rep Power
    3

    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.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    zeppyk is offline Junior Member
    Join Date
    Nov 2011
    Posts
    5
    Rep Power
    3

    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.

  4. #4
    zeppyk is offline Junior Member
    Join Date
    Nov 2011
    Posts
    5
    Rep Power
    3

    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.

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    maumar is offline Elite Member
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    339
    Rep Power
    8

    Default

    Which is the correct value to be used to set *unlimited*? -1 instead of 0 ?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Outlook having problems connecting to Zimbra server
    By Labsy in forum Administrators
    Replies: 3
    Last Post: 03-09-2011, 12:33 PM
  2. Not in GZIP and IMAPSYNC Problems
    By mrme in forum Installation Help
    Replies: 5
    Last Post: 02-08-2011, 11:03 AM
  3. [SOLVED] IMAPSync problems
    By Kidoucorp in forum Administrators
    Replies: 5
    Last Post: 10-06-2010, 08:21 AM
  4. CentOS 4.4 imapsync problems
    By timschmidt in forum Migration
    Replies: 19
    Last Post: 08-01-2007, 08:29 AM
  5. problems with imapsync from cyus
    By g8se in forum Migration
    Replies: 3
    Last Post: 02-22-2007, 07:52 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
  •