Giter Club home page Giter Club logo

Comments (4)

gilleslamiral avatar gilleslamiral commented on July 17, 2024

Does the transfer stop just after this error?

from imapsync.

ggrigon avatar ggrigon commented on July 17, 2024

Yes, it keeps running for a while (some minutes, then stop).

Trying another approach and using --debugimap1 I found it's related to the max size on the destination server.
But even increasing the max size for messagens on the host2 (Exim Server), keep getting this error:

- msg INBOX/63869 {1946602} could not append ( Subject:[MANUAL], Date:["27-Sep-2023 10:58:25 -0300"], Size:[1946602], Flags:[\Seen] ) to folder INBOX: Error appending message: Write failed 'Connection reset by peer'

By default, even with this error, it shouldn't keep running, until reach the max errors (default 50)?

from imapsync.

ggrigon avatar ggrigon commented on July 17, 2024

There's a more complete log for the error:

Received ret=1460 18320080 of 18326510
Received ret=2920 18323000 of 18326510
Received ret=3510 18326510 of 18326510
Read:   * 1 FETCH (UID 1 BODY[]         )
        22 OK FETCH completed.
internal date from host1: [28-Mar-2022 15:07:47 -0300]
internal date from host1: ["28-Mar-2022 15:07:47 -0300"] (fixed)
Host1: flags init msg INBOX.XXXXX/1 date ["28-Mar-2022 15:07:47 -0300"] flags [\Seen] size [18326510]
Host1: flags filt msg INBOX.XXXXXX/1 date ["28-Mar-2022 15:07:47 -0300"] flags [\Seen] size [18326510]
- msg INBOX.XXXXX/1 {18326510} could not append ( Subject:[XXXXX.], Date:["28-Mar-2022 15:07:47 -0300"], Size:[18326510], Flags:[\Seen] ) to folder INBOX.XXXXX: Error appending message: Write failed 'Connection reset by peer'
++++ End looping on each folder
Time: 155.521941900253 s
0.65 + 0.22 + 0.01 + 0.05 = 0.93 ~ 0.93
cpu_percent: 0.6
cpu_percent_global: 0.0
++++ Statistics
Transfer started on                     : Monday 04 March 2024-03-04 21:20:17 -0300 -03
Transfer ended on                       : Monday 04 March 2024-03-04 21:23:03 -0300 -03
Transfer time                           : 166.6 sec
Folders synced                          : 3/242 synced
Messages transferred                    : 0
Messages skipped                        : 8
Messages found duplicate on host1       : 3
Messages found duplicate on host2       : 0
Messages found crossduplicate on host2  : 0
Messages void (noheader) on host1       : 0
Messages void (noheader) on host2       : 0
Messages found in host1 not in host2    : 397 messages
Messages found in host2 not in host1    : 5 messages
Messages deleted on host1               : 0
Messages deleted on host2               : 0
Total bytes transferred                 : 0 (0.000 KiB)
Total bytes skipped                     : 1035204 (0.987 MiB)
Message rate                            : 0.0 messages/s
Average bandwidth rate                  : 0.0 KiB/s
Reconnections to host1                  : 0
Reconnections to host2                  : 2
Memory consumption at the end           : 232.1 MiB (*time 10.7 MiB*h) (started with 163.5 MiB)
System load: 0.40 0.47 0.53 4/1221
Load end is                             : 0.40 0.47 0.53 4/1221 on 16 cores
CPU time and %cpu                       : 0.93 sec 0.6 %cpu 0.0 %allcpus
Biggest message transferred             : 0 bytes (0.000 KiB)
Memory/biggest message ratio            : NA
nb_keys h1_folders_of_md5 397
nb_keys h2_folders_of_md5 5
The sync is not finished, there are 397 among 397 identified messages in host1 that are not on host2.
There is no unidentified message on host1.
The sync is not strict, there are 5 among 5 identified messages in host2 that are not on host1. Use --delete2 and sync again to delete them and have a strict sync.
Detected 1 errors
Check if a new imapsync release is available by adding --releasecheck
Homepage: https://imapsync.lamiral.info/
++++ Listing 1 errors encountered during the sync ( avoid this listing with --noerrorsdump ).
Err 1/1: - msg INBOX.XXXXX/1 {18326510} could not append ( Subject:[XXXXX.], Date:["28-Mar-2022 15:07:47 -0300"], Size:[18326510], Flags:[\Seen] ) to folder INBOX.XXXXX: Error appending message: Write failed 'Connection reset by peer'
The most frequent error is ERR_APPEND.
Sending: 23 LOGOUT
Sent 11 bytes
Read:   * BYE Courier-IMAP server shutting down
        23 OK LOGOUT completed

from imapsync.

gilleslamiral avatar gilleslamiral commented on July 17, 2024

Trying another approach and using --debugimap1 I found it's related to the max size on the destination server.

Ok, but you're good because --debugimap1 debugs the IMAP source server dialog with imapsync, --debugimap2 debugs the destination dialog.

from imapsync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.