GithubHelp home page GithubHelp logo

Comments (12)

gilleslamiral avatar gilleslamiral commented on June 10, 2024 1

Does it happen systematically?
You can split the sync with some search criteria, date for example.
https://imapsync.lamiral.info/FAQ.d/FAQ.Messages_Selection.txt
...

imapsync ... --search "SENTSINCE 1-Jan-2010 SENTBEFORE 31-Dec-2010"

from imapsync.

Karman40 avatar Karman40 commented on June 10, 2024

1 hour later

Trying command when NOT connected! at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 123.
        Mail::IMAPClient::LastError(Mail::IMAPClient=HASH(0xa910598), "NO not connected") called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 1568
        Mail::IMAPClient::_send_line(Mail::IMAPClient=HASH(0xa910598), "3497 UID FETCH 1:14,16,18:22,24,26,28,30,32,34,36,38,40,42,44"..., 0) called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 1344
        Mail::IMAPClient::_imap_command_do(Mail::IMAPClient=HASH(0xa910598), "UID FETCH 1:14,16,18:22,24,26,28,30,32,34,36,38,40,42,44,46,4"...) called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 1248
        Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0xa910598), "UID FETCH 1:14,16,18:22,24,26,28,30,32,34,36,38,40,42,44,46,4"...) called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 1460
        Mail::IMAPClient::_imap_uid_command(Mail::IMAPClient=HASH(0xa910598), "FETCH", "1:14,16,18:22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54"..., "(FLAGS INTERNALDATE RFC822.SIZE)") called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 2166
        Mail::IMAPClient::fetch(Mail::IMAPClient=HASH(0xa910598), ARRAY(0x5adb410), "(FLAGS INTERNALDATE RFC822.SIZE)") called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 2250
        Mail::IMAPClient::fetch_hash(Mail::IMAPClient=HASH(0xa910598), ARRAY(0x5adb410), "FLAGS", "INTERNALDATE", "RFC822.SIZE") called at script/imapsync line 2632
        main::single_sync(HASH(0x5aedb18), HASH(0x5153da0), HASH(0x5ae4db8)) called at script/imapsync line 1367
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3be9600), 1) called at script/main.pl line 26
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3be9918)) called at <embedded>/PAR.pm line 434
        PAR::import("PAR") called at -e line 614
        eval {...} called at -e line 65
        __par_pl::BEGIN() called at script/imapsync line 0
        eval {...} called at script/imapsync line 0
Trying command when NOT connected! LastError was: NO not connected at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 123.
        Mail::IMAPClient::LastError(Mail::IMAPClient=HASH(0xa910598), "Error sending '3497 UID FETCH 1:14,16,18:22,24,26,28,30,32,34"...) called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 1345
        Mail::IMAPClient::_imap_command_do(Mail::IMAPClient=HASH(0xa910598), "UID FETCH 1:14,16,18:22,24,26,28,30,32,34,36,38,40,42,44,46,4"...) called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 1248
        Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0xa910598), "UID FETCH 1:14,16,18:22,24,26,28,30,32,34,36,38,40,42,44,46,4"...) called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 1460
        Mail::IMAPClient::_imap_uid_command(Mail::IMAPClient=HASH(0xa910598), "FETCH", "1:14,16,18:22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54"..., "(FLAGS INTERNALDATE RFC822.SIZE)") called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 2166
        Mail::IMAPClient::fetch(Mail::IMAPClient=HASH(0xa910598), ARRAY(0x5adb410), "(FLAGS INTERNALDATE RFC822.SIZE)") called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 2250
        Mail::IMAPClient::fetch_hash(Mail::IMAPClient=HASH(0xa910598), ARRAY(0x5adb410), "FLAGS", "INTERNALDATE", "RFC822.SIZE") called at script/imapsync line 2632
        main::single_sync(HASH(0x5aedb18), HASH(0x5153da0), HASH(0x5ae4db8)) called at script/imapsync line 1367
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3be9600), 1) called at script/main.pl line 26
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3be9918)) called at <embedded>/PAR.pm line 434
        PAR::import("PAR") called at -e line 614
        eval {...} called at -e line 65
        __par_pl::BEGIN() called at script/imapsync line 0
        eval {...} called at script/imapsync line 0
Trying command when NOT connected! LastError was: Error sending '3497 UID FETCH 1:14,16,18:22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54:55,57,59,61,63,65,67,69,71,73,75,77,79,81,84,86,88,90,93,95,97,99,101,103,105,107,109,111,113,115,117,119,121,123,125,127,129,131,133,135,137,139,141,143,146,149,151,
153,155,157,159,161,163,165,167,169,171:172,174,176,178,180,182,184,186,188,192,194,196,198,200,202:203,205:206,208,210:216,218,220,222:228,230,232,234,236,238,240,242:243,245,247,249,251,253:255,257,259,261:264,266,268,270,272,274:276,278,280,282,284,286,288,290:291,293:294,296,298,300,302,304,306,308,310,
312,314,316,318,320,322,324,326,328,330,332:333,335,337,339,341,343,345,347,349,351,353,355,357,359,361,363,365,367,369,371:372,374,376:377,380,382,384,386,388,390,392,395,397,399,401:402,404,406,408,410,412,414,416,418,424,426,428,430,432,434:438,440,442,444,446,448,450:451,453,455,457,459,461,463:465,467,469,471,473,475,477,479,481,483:484,486,488:489,491,493,495,497,499,501:505,507,509,511,513,516,518,520 (FLAGS INTERNALDATE RFC822.SIZE)': NO not connected at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 123.
        Mail::IMAPClient::LastError(Mail::IMAPClient=HASH(0xa910598), "Error sending '3497 UID FETCH 1:14,16,18:22,24,26,28,30,32,34"...) called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 1298
        Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0xa910598), "UID FETCH 1:14,16,18:22,24,26,28,30,32,34,36,38,40,42,44,46,4"...) called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 1460
        Mail::IMAPClient::_imap_uid_command(Mail::IMAPClient=HASH(0xa910598), "FETCH", "1:14,16,18:22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54"..., "(FLAGS INTERNALDATE RFC822.SIZE)") called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 2166
        Mail::IMAPClient::fetch(Mail::IMAPClient=HASH(0xa910598), ARRAY(0x5adb410), "(FLAGS INTERNALDATE RFC822.SIZE)") called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 2250
        Mail::IMAPClient::fetch_hash(Mail::IMAPClient=HASH(0xa910598), ARRAY(0x5adb410), "FLAGS", "INTERNALDATE", "RFC822.SIZE") called at script/imapsync line 2632
        main::single_sync(HASH(0x5aedb18), HASH(0x5153da0), HASH(0x5ae4db8)) called at script/imapsync line 1367
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3be9600), 1) called at script/main.pl line 26
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3be9918)) called at <embedded>/PAR.pm line 434
        PAR::import("PAR") called at -e line 614
        eval {...} called at -e line 65
        __par_pl::BEGIN() called at script/imapsync line 0
        eval {...} called at script/imapsync line 0
Host1: folder Elk&APw-ld&APY-tt elemek : Could not fetch_hash 31965 msgs: Error sending '3497 UID FETCH 1:14,16,18:22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54:55,5...,497,499,501:505,507,509,511,513,516,518,520 (FLAGS INTERNALDATE RFC822.SIZE)': NO not connected
ETA: Monday 03 November 2031-11-03 03:24:59 K├Âz├ęp-eur├│pai t├ęli id├Á   252599684 s  94300/94330 msgs left
Trying command when NOT connected! at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 123.
        Mail::IMAPClient::LastError(Mail::IMAPClient=HASH(0xa910598), "NO not connected") called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 1568
        Mail::IMAPClient::_send_line(Mail::IMAPClient=HASH(0xa910598), "3502 NOOP", 0) called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 1344
        Mail::IMAPClient::_imap_command_do(Mail::IMAPClient=HASH(0xa910598), "NOOP") called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 1248
        Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0xa910598), "NOOP") called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 614
        Mail::IMAPClient::noop(Mail::IMAPClient=HASH(0xa910598)) called at script/imapsync line 7892
        main::reconnect_if_needed(Mail::IMAPClient=HASH(0xa910598)) called at script/imapsync line 7837
        main::reconnect_12_if_needed(HASH(0x5aedb18)) called at script/imapsync line 2441
        main::single_sync(HASH(0x5aedb18), HASH(0x5153da0), HASH(0x5ae4db8)) called at script/imapsync line 1367
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3be9600), 1) called at script/main.pl line 26
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3be9918)) called at <embedded>/PAR.pm line 434
        PAR::import("PAR") called at -e line 614
        eval {...} called at -e line 65
        __par_pl::BEGIN() called at script/imapsync line 0
        eval {...} called at script/imapsync line 0
Trying command when NOT connected! LastError was: NO not connected at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 123.
        Mail::IMAPClient::LastError(Mail::IMAPClient=HASH(0xa910598), "Error sending '3502 NOOP': NO not connected") called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 1345
        Mail::IMAPClient::_imap_command_do(Mail::IMAPClient=HASH(0xa910598), "NOOP") called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 1248
        Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0xa910598), "NOOP") called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 614
        Mail::IMAPClient::noop(Mail::IMAPClient=HASH(0xa910598)) called at script/imapsync line 7892
        main::reconnect_if_needed(Mail::IMAPClient=HASH(0xa910598)) called at script/imapsync line 7837
        main::reconnect_12_if_needed(HASH(0x5aedb18)) called at script/imapsync line 2441
        main::single_sync(HASH(0x5aedb18), HASH(0x5153da0), HASH(0x5ae4db8)) called at script/imapsync line 1367
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3be9600), 1) called at script/main.pl line 26
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3be9918)) called at <embedded>/PAR.pm line 434
        PAR::import("PAR") called at -e line 614
        eval {...} called at -e line 65
        __par_pl::BEGIN() called at script/imapsync line 0
        eval {...} called at script/imapsync line 0
Trying command when NOT connected! LastError was: Error sending '3502 NOOP': NO not connected at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 123.
        Mail::IMAPClient::LastError(Mail::IMAPClient=HASH(0xa910598), "Error sending '3502 NOOP': NO not connected") called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 1298
        Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0xa910598), "NOOP") called at C:\Users\KARMAN~1\AppData\Local\Temp\par-6b61726d616e7a736f6d626f72\temp-4688\inc\lib/Mail/IMAPClient.pm line 614
        Mail::IMAPClient::noop(Mail::IMAPClient=HASH(0xa910598)) called at script/imapsync line 7892
        main::reconnect_if_needed(Mail::IMAPClient=HASH(0xa910598)) called at script/imapsync line 7837
        main::reconnect_12_if_needed(HASH(0x5aedb18)) called at script/imapsync line 2441
        main::single_sync(HASH(0x5aedb18), HASH(0x5153da0), HASH(0x5ae4db8)) called at script/imapsync line 1367
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3be9600), 1) called at script/main.pl line 26
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3be9918)) called at <embedded>/PAR.pm line 434
        PAR::import("PAR") called at -e line 614
        eval {...} called at -e line 65
        __par_pl::BEGIN() called at script/imapsync line 0
        eval {...} called at script/imapsync line 0
ETA: Monday 10 November 2031-11-10 12:33:35 K├Âz├ęp-eur├│pai t├ęli id├Á   253237392 s  94300/94330 msgs left
++++ End looping on each folder

Folders sizes after the synchronization.
You can remove this foldersizes listing by using  "--nofoldersizesatend"
++++ Statistics
Transfer started on                     : Wednesday 01 November 2023-11-01 12:01:13 K├Âz├ęp-eur├│pai t├ęli id├Á
Transfer ended on                       : Wednesday 01 November 2023-11-01 12:50:22 K├Âz├ęp-eur├│pai t├ęli id├Á
Transfer time                           : 2949.4 sec
Folders synced                          : 4/1045 synced
Messages transferred                    : 0
Messages skipped                        : 30
Messages found duplicate on host1       : 0
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    : 0 messages
Messages found in host2 not in host1    : 0 messages
Messages deleted on host1               : 0
Messages deleted on host2               : 0
Total bytes transferred                 : 0 (0.000 KiB)
Total bytes skipped                     : 2113569 (2.016 MiB)
Message rate                            : 0.0 messages/s
Average bandwidth rate                  : 0.0 KiB/s
Reconnections to host1                  : 2
Reconnections to host2                  : 0
Memory consumption at the end           : 222.9 MiB (*time 182.6 MiB*h) (started with 182.4 MiB)
Load end is                             : unknown on 8 cores
CPU time and %cpu                       : 11.249 sec 0.4 %cpu 0.1 %allcpus
Biggest message transferred             : 0 bytes (0.000 KiB)
Memory/biggest message ratio            : NA
Start difference host2 - host1          : -94279 messages, -38719120561 bytes (-36.060 GiB)
Final difference host2 - host1          : NA messages, NA bytes (NA)
The sync looks good, all 30 identified messages in host1 are on host2.
There is no unidentified message on host1.
The sync is strict, all 30 identified messages in host2 are on host1.
Detected 1 errors
This imapsync is up to date. ( local 2.264 >= official 2.264 )( Use --noreleasecheck to avoid this release check. )
Homepage: https://imapsync.lamiral.info/
++++ Listing 1 errors encountered during the sync ( avoid this listing with --noerrorsdump ).
Err 1/1: Host1: folder Elk&APw-ld&APY-tt elemek : Could not fetch_hash 31965 msgs: Error sending '3497 UID FETCH 1:14,16,18:22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54:55,5...,497,499,501:505,507,509,511,513,516,518,520 (FLAGS INTERNALDATE RFC822.SIZE)': NO not connected
The most frequent error is ERR_UNCLASSIFIED.
Failure: lost connection for host1 [outlook.office365.com]: (len=43) Error sending '3502 NOOP': NO not connected
Exiting with return value 111 (EXIT_WITH_ERRORS) 2/50 nb_errors/max_errors PID 14140
Removing pidfile .//imapsync.pid
Log file is LOG_imapsync/2023_11_01_12_01_13_562_karman_sandor_pentathlon_hu_karman_sandor_pentathlon_hu.txt ( to change it, use --logfile filepath ; or use --nolog to turn off logging )
The sync is over.
Hit any key to close this window
the following word "to continue" means in fact "to close this window"
Press any key to continue . . .

from imapsync.

Karman40 avatar Karman40 commented on June 10, 2024

Yes, this is a regular error with this account.

Thanks for the suggestion. It seems to copy letters from 2014 nicely, I'm trying to migrate them by year.

Does this work if I want to migrate user@office/shared@office?
Should the oauth part be run on user@office?

from imapsync.

Karman40 avatar Karman40 commented on June 10, 2024

@gilleslamiral

Any other suggestions? I'm using the settings sent, but it's still terribly slow.
The office access token expires, you have to start it again, where you have to wait a long time again.

speed: 0.3msg / secound

Folder 4/1045 [Elk&APw-ld&APY-tt elements] = [Elk├╝ld├Âttt items] -> [Sent]
Host1: folder [Elk&APw-ld&APY-tt elements] has 31965 messages in total (mentioned by SELECT)
Host2: folder [Sent] has 3648 messages in total (mentioned by SELECT)
Host2: folder [Sent] permanentflags:
Host1: folder [Elk&APw-ld&APY-tt elements] considering 2447 messages
Host2: folder [Sent] considering 2447 messages

from imapsync.

Karman40 avatar Karman40 commented on June 10, 2024
Folder  4/1045 [Elk&APw-ld&APY-tt elemek] = [Elk├╝ld├Âtt elemek] -> [Sent]
Host1: folder [Elk&APw-ld&APY-tt elemek] has 31965 messages in total (mentioned by SELECT)
Host2: folder [Sent] has 3648 messages in total (mentioned by SELECT)
Host2: folder [Sent] permanentflags:
Host1: folder [Elk&APw-ld&APY-tt elemek] considering 2447 messages
Host2: folder [Sent] considering 2447 messages
Trying command when NOT connected! at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 123.
        Mail::IMAPClient::LastError(Mail::IMAPClient=HASH(0x6a82aa0), "NO not connected") called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 1568
        Mail::IMAPClient::_send_line(Mail::IMAPClient=HASH(0x6a82aa0), "2249 UID FETCH 2320,2322,2324,2326:2328,2330,2332,2334,2336,2"..., 0) called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 1344
        Mail::IMAPClient::_imap_command_do(Mail::IMAPClient=HASH(0x6a82aa0), "UID FETCH 2320,2322,2324,2326:2328,2330,2332,2334,2336,2338,2"...) called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 1248
        Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0x6a82aa0), "UID FETCH 2320,2322,2324,2326:2328,2330,2332,2334,2336,2338,2"...) called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 1460
        Mail::IMAPClient::_imap_uid_command(Mail::IMAPClient=HASH(0x6a82aa0), "FETCH", "2320,2322,2324,2326:2328,2330,2332,2334,2336,2338,2340,2342,2"..., "(FLAGS INTERNALDATE RFC822.SIZE)") called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 2166
        Mail::IMAPClient::fetch(Mail::IMAPClient=HASH(0x6a82aa0), ARRAY(0x55701c8), "(FLAGS INTERNALDATE RFC822.SIZE)") called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 2250
        Mail::IMAPClient::fetch_hash(Mail::IMAPClient=HASH(0x6a82aa0), ARRAY(0x55701c8), "FLAGS", "INTERNALDATE", "RFC822.SIZE") called at script/imapsync line 2632
        main::single_sync(HASH(0x557eb68), HASH(0x52a28f8), HASH(0x557e400)) called at script/imapsync line 1367
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3bfa3d8), 1) called at script/main.pl line 26
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3bfa6f0)) called at <embedded>/PAR.pm line 434
        PAR::import("PAR") called at -e line 614
        eval {...} called at -e line 65
        __par_pl::BEGIN() called at script/imapsync line 0
        eval {...} called at script/imapsync line 0
Trying command when NOT connected! LastError was: NO not connected at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 123.
        Mail::IMAPClient::LastError(Mail::IMAPClient=HASH(0x6a82aa0), "Error sending '2249 UID FETCH 2320,2322,2324,2326:2328,2330,2"...) called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 1345
        Mail::IMAPClient::_imap_command_do(Mail::IMAPClient=HASH(0x6a82aa0), "UID FETCH 2320,2322,2324,2326:2328,2330,2332,2334,2336,2338,2"...) called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 1248
        Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0x6a82aa0), "UID FETCH 2320,2322,2324,2326:2328,2330,2332,2334,2336,2338,2"...) called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 1460
        Mail::IMAPClient::_imap_uid_command(Mail::IMAPClient=HASH(0x6a82aa0), "FETCH", "2320,2322,2324,2326:2328,2330,2332,2334,2336,2338,2340,2342,2"..., "(FLAGS INTERNALDATE RFC822.SIZE)") called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 2166
        Mail::IMAPClient::fetch(Mail::IMAPClient=HASH(0x6a82aa0), ARRAY(0x55701c8), "(FLAGS INTERNALDATE RFC822.SIZE)") called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 2250
        Mail::IMAPClient::fetch_hash(Mail::IMAPClient=HASH(0x6a82aa0), ARRAY(0x55701c8), "FLAGS", "INTERNALDATE", "RFC822.SIZE") called at script/imapsync line 2632
        main::single_sync(HASH(0x557eb68), HASH(0x52a28f8), HASH(0x557e400)) called at script/imapsync line 1367
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3bfa3d8), 1) called at script/main.pl line 26
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3bfa6f0)) called at <embedded>/PAR.pm line 434
        PAR::import("PAR") called at -e line 614
        eval {...} called at -e line 65
        __par_pl::BEGIN() called at script/imapsync line 0
        eval {...} called at script/imapsync line 0
Trying command when NOT connected! LastError was: Error sending '2249 UID FETCH 2320,2322,2324,2326:2328,2330,2332,2334,2336,2338,2340,2342,2344,2346,2348,2350,2352,2354,2356,2358,2360,2362,2364,2366,2368,2370,2372,2374,2376,2378,2380,2382,2384,2386,2388,2390,2392,2394,2396,2398,2400,2402,2404,2406,2408,2410,2412,2414,2416,2418,2420,2422,2424,2426,2428,2430,2432,2434,2436,2438,2440,2442,2444,2446,2448,2450,2452,2454,2456:2460,2462,2464,2466,2468,2470,2472,2474,2476,2478,2480,2482,2484,2486,2488,2490,2492,2494,2496,2498,2500,2502,2504,2506,2508,2510,2512,2514,2516,2518,2520,2522,2524,2526,2528,2530,2532,2534,2536,2538,2540,2542,2544,2546,2548,2550,2552,2554,2556,2558,2560,2562,2564,2566,2568,2570,2572,2574,2576,2578:2579,2581,2583,2585,2587,2589,2591,2593,2595,2597,2599,2601,2603,2605,2607,2609,2611,2613,2615,2617,2619,2621,2623,2625,2627:2628,2630,2632,2634,2636,2638,2640,2642,2644,2646,2648,2650,2652,2654,2656,2658,2660,2662,2664,2666,2668,2670,2672,2674,2676,2678,2680,2682,2684:2686,2688,2690,2692,2694,2696,2698 (FLAGS INTERNALDATE RFC822.SIZE)': NO not connected at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 123.
        Mail::IMAPClient::LastError(Mail::IMAPClient=HASH(0x6a82aa0), "Error sending '2249 UID FETCH 2320,2322,2324,2326:2328,2330,2"...) called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 1298
        Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0x6a82aa0), "UID FETCH 2320,2322,2324,2326:2328,2330,2332,2334,2336,2338,2"...) called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 1460
        Mail::IMAPClient::_imap_uid_command(Mail::IMAPClient=HASH(0x6a82aa0), "FETCH", "2320,2322,2324,2326:2328,2330,2332,2334,2336,2338,2340,2342,2"..., "(FLAGS INTERNALDATE RFC822.SIZE)") called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 2166
        Mail::IMAPClient::fetch(Mail::IMAPClient=HASH(0x6a82aa0), ARRAY(0x55701c8), "(FLAGS INTERNALDATE RFC822.SIZE)") called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 2250
        Mail::IMAPClient::fetch_hash(Mail::IMAPClient=HASH(0x6a82aa0), ARRAY(0x55701c8), "FLAGS", "INTERNALDATE", "RFC822.SIZE") called at script/imapsync line 2632
        main::single_sync(HASH(0x557eb68), HASH(0x52a28f8), HASH(0x557e400)) called at script/imapsync line 1367
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3bfa3d8), 1) called at script/main.pl line 26
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3bfa6f0)) called at <embedded>/PAR.pm line 434
        PAR::import("PAR") called at -e line 614
        eval {...} called at -e line 65
        __par_pl::BEGIN() called at script/imapsync line 0
        eval {...} called at script/imapsync line 0
Host1: folder Elk&APw-ld&APY-tt elemek : Could not fetch_hash 2447 msgs: Error sending '2249 UID FETCH 2320,2322,2324,2326:2328,2330,2332,2334,2336,2338,2340,2342,2344,2...2682,2684:2686,2688,2690,2692,2694,2696,2698 (FLAGS INTERNALDATE RFC822.SIZE)': NO not connected
ETA: Thursday 18 January 2024-01-18 21:32:27 K├Âz├ęp-eur├│pai t├ęli id├Á   6747418 s  7658/7671 msgs left
Trying command when NOT connected! at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 123.
        Mail::IMAPClient::LastError(Mail::IMAPClient=HASH(0x6a82aa0), "NO not connected") called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 1568
        Mail::IMAPClient::_send_line(Mail::IMAPClient=HASH(0x6a82aa0), "2254 NOOP", 0) called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 1344
        Mail::IMAPClient::_imap_command_do(Mail::IMAPClient=HASH(0x6a82aa0), "NOOP") called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 1248
        Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0x6a82aa0), "NOOP") called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 614
        Mail::IMAPClient::noop(Mail::IMAPClient=HASH(0x6a82aa0)) called at script/imapsync line 7892
        main::reconnect_if_needed(Mail::IMAPClient=HASH(0x6a82aa0)) called at script/imapsync line 7837
        main::reconnect_12_if_needed(HASH(0x557eb68)) called at script/imapsync line 2441
        main::single_sync(HASH(0x557eb68), HASH(0x52a28f8), HASH(0x557e400)) called at script/imapsync line 1367
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3bfa3d8), 1) called at script/main.pl line 26
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3bfa6f0)) called at <embedded>/PAR.pm line 434
        PAR::import("PAR") called at -e line 614
        eval {...} called at -e line 65
        __par_pl::BEGIN() called at script/imapsync line 0
        eval {...} called at script/imapsync line 0
Trying command when NOT connected! LastError was: NO not connected at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 123.
        Mail::IMAPClient::LastError(Mail::IMAPClient=HASH(0x6a82aa0), "Error sending '2254 NOOP': NO not connected") called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 1345
        Mail::IMAPClient::_imap_command_do(Mail::IMAPClient=HASH(0x6a82aa0), "NOOP") called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 1248
        Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0x6a82aa0), "NOOP") called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 614
        Mail::IMAPClient::noop(Mail::IMAPClient=HASH(0x6a82aa0)) called at script/imapsync line 7892
        main::reconnect_if_needed(Mail::IMAPClient=HASH(0x6a82aa0)) called at script/imapsync line 7837
        main::reconnect_12_if_needed(HASH(0x557eb68)) called at script/imapsync line 2441
        main::single_sync(HASH(0x557eb68), HASH(0x52a28f8), HASH(0x557e400)) called at script/imapsync line 1367
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3bfa3d8), 1) called at script/main.pl line 26
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3bfa6f0)) called at <embedded>/PAR.pm line 434
        PAR::import("PAR") called at -e line 614
        eval {...} called at -e line 65
        __par_pl::BEGIN() called at script/imapsync line 0
        eval {...} called at script/imapsync line 0
Trying command when NOT connected! LastError was: Error sending '2254 NOOP': NO not connected at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 123.
        Mail::IMAPClient::LastError(Mail::IMAPClient=HASH(0x6a82aa0), "Error sending '2254 NOOP': NO not connected") called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 1298
        Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0x6a82aa0), "NOOP") called at C:\Users\mosz\AppData\Local\Temp\par-6d6f737a\temp-9452\inc\lib/Mail/IMAPClient.pm line 614
        Mail::IMAPClient::noop(Mail::IMAPClient=HASH(0x6a82aa0)) called at script/imapsync line 7892
        main::reconnect_if_needed(Mail::IMAPClient=HASH(0x6a82aa0)) called at script/imapsync line 7837
        main::reconnect_12_if_needed(HASH(0x557eb68)) called at script/imapsync line 2441
        main::single_sync(HASH(0x557eb68), HASH(0x52a28f8), HASH(0x557e400)) called at script/imapsync line 1367
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3bfa3d8), 1) called at script/main.pl line 26
        require main called at <embedded>/PAR.pm line 647
        PAR::_run_member(Archive::Zip::ZipFileMember=HASH(0x3bfa6f0)) called at <embedded>/PAR.pm line 434
        PAR::import("PAR") called at -e line 614
        eval {...} called at -e line 65
        __par_pl::BEGIN() called at script/imapsync line 0
        eval {...} called at script/imapsync line 0
ETA: Friday 19 January 2024-01-19 10:10:22 K├Âz├ęp-eur├│pai t├ęli id├Á   6792887 s  7658/7671 msgs left
++++ End looping on each folder

Folders sizes after the synchronization.
You can remove this foldersizes listing by using  "--nofoldersizesatend"
++++ Statistics
Transfer started on                     : Wednesday 01 November 2023-11-01 18:57:55 K├Âz├ęp-eur├│pai t├ęli id├Á
Transfer ended on                       : Wednesday 01 November 2023-11-01 19:15:35 K├Âz├ęp-eur├│pai t├ęli id├Á
Transfer time                           : 1060.2 sec
Folders synced                          : 4/1045 synced
Messages transferred                    : 0
Messages skipped                        : 13
Messages found duplicate on host1       : 0
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    : 0 messages
Messages found in host2 not in host1    : 0 messages
Messages deleted on host1               : 0
Messages deleted on host2               : 0
Total bytes transferred                 : 0 (0.000 KiB)
Total bytes skipped                     : 780333 (762.044 KiB)
Message rate                            : 0.0 messages/s
Average bandwidth rate                  : 0.0 KiB/s
Reconnections to host1                  : 2
Reconnections to host2                  : 0
Memory consumption at the end           : 203.9 MiB (*time 60.1 MiB*h) (started with 181.7 MiB)
Load end is                             : unknown on 4 cores
CPU time and %cpu                       : 11.077 sec 1.0 %cpu 0.2 %allcpus
Biggest message transferred             : 0 bytes (0.000 KiB)
Memory/biggest message ratio            : NA
Start difference host2 - host1          : -3465 messages, -1267820077 bytes (-1.181 GiB)
Final difference host2 - host1          : NA messages, NA bytes (NA)
The sync looks good, all 13 identified messages in host1 are on host2.
There is no unidentified message on host1.
The sync is strict, all 13 identified messages in host2 are on host1.
Detected 1 errors
This imapsync is up to date. ( local 2.264 >= official 2.264 )( Use --noreleasecheck to avoid this release check. )

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 10, 2024

#422 (comment)

Does this work if I want to migrate user@office/shared@office? Should the oauth part be run on user@office?

I don't know. Some people in the #250 issue did answer this question but I'm not authoritative on this subject

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 10, 2024

Do you refresh the token during the sync?

from imapsync.

Karman40 avatar Karman40 commented on June 10, 2024

Sometimes the token expired. In this cases, I had to restart the full synchronization job.
When the token was invalid, expired, a completely different error message was received.

Unfortunately, the copying of user@office/shared@office failed to come to life, so I had to give everyone a license one by one.

The command looks like:

@REM $Id: imapsync_example_oauth2.bat,v 1.4 2023/09/26 20:18:02 gilles Exp gilles $

@ECHO Getting/Updating the OAUTH2 tokens
@ECHO
@IF NOT EXIST ..\tokens MKDIR ..\tokens
CALL ..\oauth2_office365\oauth2_office365_with_imap.exe  "user@office"  "..\token.txt" localhost
@ECHO Now calling imapsync with this fresh access token


CALL ..\imapsync.exe  ^
  --office1 --user1 "user@office" --oauthaccesstoken1 "..\token.txt" ^
  --host2 "domain"  --user2 "..."  --password2  "..." ^
  --addheader --automap --subscribeall --search "SENTSINCE 1-Jan-2023 SENTBEFORE 31-Dec-2023"


@ECHO The sync is over.
@ECHO Hit any key to close this window
@ECHO the following word "to continue" means in fact "to close this window" 
@PAUSE

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 10, 2024

Sometimes the token expired. In this case, I had to restart the full synchronization job.

Can you refresh the token every 30 minutes?
Example at https://imapsync.lamiral.info/oauth2/oauth2_office365/infinite_loop_example.bat

from imapsync.

Karman40 avatar Karman40 commented on June 10, 2024

No, thanks for bringing this to my attention!
There was no mention of this in the documentation, it might be worth mentioning this useful script.

from imapsync.

Karman40 avatar Karman40 commented on June 10, 2024

The copy was successful. After restarting many times (from already known errors). The other error that occurred I cannot reproduce on purpose.

I will close this (by the way, there is a similar one) and if I manage to cause the error, I will open it again.

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 10, 2024

Thanks!

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.