Results 1 to 3 of 3

Thread: problem migrating mail with large attachment using imapsync

Hybrid View

  1. #1
    Join Date
    Oct 2011
    Posts
    4
    Rep Power
    4

    Default problem migrating mail with large attachment using imapsync

    I'm trying to migrate about 100 mailboxes from my old MDAEMON to Zimbra 7.0.14 using imapsync. My ZCS OS ver is installed on an Ubuntu 10.04 64bit.
    I'm using batch process guide from Guide to imapsync - Zimbra :: Wiki. After 5 or 6 successful mailboxes, the process stuck on a mail with two PDF attachments, one is 22MB and the other is 15MB, so the message size is ~ 37 MB.
    Code:
    Couldn't append msg #177 (Subject:[CCNA]) to folder INBOX: Error sending '206 APPEND INBOX (\Seen) "09-Feb-2012 16:44:42 +0700" {38708012}': socket closed while reading data from server
    All msgss after that msg are not being synced since i checked the zmcontrol status cmd and found that mailboxd service was stopped, and only it was stopped, every others service was still running.
    Then i tried to split that large msg into 2 msgs, one with the 22MB attachment, and one with the 15MB attachment, the imapsync process runs successfully without any errors.
    I've set the 3 attributes
    Code:
    su - zimbra
    zmprov mcf zimbraMtaMaxMessageSize 50000000
    zmprov mcf zimbraFileUploadMaxSize 50000000
    zmprov mcf zimbraMailContentMaxSize 50000000
    but the same error occurred, even when i increase the size to 300000000 (300MB).
    Any ideas?
    Thanks, and sr for my bad english.

  2. #2
    Join Date
    Feb 2012
    Posts
    6
    Rep Power
    3

    Default

    I had difficulty with large messages when migrating from Notes. While it is not the same utility I believe that the same logic may apply. I had to increase the acceptable message size on both the Zimbra server as well as in the registry of the migrating computer. I am not familiar with the tool you are using but there may be away to tell the script to use the same size that your server is set for.

    Hope that helps guide your search.

  3. #3
    Join Date
    Oct 2011
    Posts
    4
    Rep Power
    4

    Default

    Code:
    imapsync --maxsize 100000000 --buffersize 8192000 --nosyncacls --syncinternaldates --host1 $host1 --user1 "$user" --password1 \ 
        "$p1"--host2 $host2 --user2 "$user" --password2 "$p1"
    I tried with the option --maxsize 100MB of imapsync but it still can't sync the mail with 38MB attachment, and the mailboxd was not stopped the first time i ran the command, but the second time it was stopped.
    I'm very confused, is it possible to sync mail with large attachment (>20MB) by imapsync? Have anyone digged on imapsync's source?

Similar Threads

  1. smtp auth failing 'auth_zimbra: not initialized'
    By kkg039 in forum Administrators
    Replies: 7
    Last Post: 09-05-2013, 12:10 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM
  4. DynDNS and Zimbra
    By afterwego in forum Installation
    Replies: 30
    Last Post: 04-01-2007, 04:34 PM
  5. Mail not getting to mail boxes
    By ehults in forum Installation
    Replies: 5
    Last Post: 10-31-2005, 09:24 AM

Posting Permissions

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