Here is imapsync 2.140 on host cloud022.ca.san.psi.br, a linux system with 14.2/125.5 free GiB of RAM with Perl 5.26.3 and Mail::IMAPClient 3.42 Transfer started at Wednesday 29 June 2022-06-29 21:12:41 -0300 -03 PID is 4190760 my PPID is 3796739 Log file is LOG_imapsync/2022_06_29_21_12_41_268_rp@farinon.com.br_rp@farinon.com.br.txt ( to change it, use --logfile path ; or use --nolog to turn off logging ) Load is 1.49 1.95 2.36 3/1737 on 48 cores Current directory is /home/mazeracom/public_html Real user id is root (uid 0) Effective user id is root (euid 0) $RCSfile: imapsync,v $ $Revision: 2.140 $ $Date: 2021/07/05 20:14:18 $ Command line used, run by /usr/bin/perl: /usr/bin/imapsync --host1 imap.kinghost.net --user1 rp@farinon.com.br --password1 MASKED --host2 cloud020.ca.san.psi.br --user2 rp@farinon.com.br --password2 MASKED --usecache Temp directory is /tmp ( to change it use --tmpdir dirpath ) kill -QUIT 4190760 # special behavior: call to sub catch_exit kill -TERM 4190760 # special behavior: call to sub catch_exit kill -INT 4190760 # special behavior: call to sub catch_reconnect kill -HUP 4190760 # special behavior: call to sub catch_print kill -USR1 4190760 # special behavior: call to sub toggle_sleep File /tmp/imapsync.pid does not exist PID file is /tmp/imapsync.pid ( to change it, use --pidfile filepath ; to avoid it use --pidfile "" ) Writing my PID 4190760 in /tmp/imapsync.pid Writing also my logfile name in /tmp/imapsync.pid : LOG_imapsync/2022_06_29_21_12_41_268_rp@farinon.com.br_rp@farinon.com.br.txt Modules version list ( use --no-modulesversion to turn off printing this Perl modules list ): Authen::NTLM 1.09 CGI Not installed Compress::Zlib 2.081 Crypt::OpenSSL::RSA 0.31 Data::Uniqid 0.12 Digest::HMAC_MD5 1.01 Digest::HMAC_SHA1 1.03 Digest::MD5 2.55 Encode 2.97 Encode::IMAPUTF7 1.05 File::Copy::Recursive 0.40 File::Spec 3.74 Getopt::Long 2.5 HTML::Entities 3.69 IO::Socket 1.38 IO::Socket::INET 1.35 IO::Socket::INET6 2.72 IO::Socket::IP 0.39 IO::Socket::SSL 2.066 IO::Tee 0.65 JSON 2.97001 JSON::WebToken 0.10 LWP 6.34 MIME::Base64 3.15 Mail::IMAPClient 3.42 Net::Ping 2.55 Net::SSLeay 1.88 Term::ReadKey 2.37 Test::MockObject 1.20180705 Time::HiRes 1.9758 URI::Escape 3.31 Unicode::String 2.10 Info: will resync flags for already transferred messages. Use --noresyncflags to not resync flags. Host1: probing ssl on port 993 ( use --nosslcheck to avoid this ssl probe ) Host1: sslcheck detected open ssl port 993 so turning ssl on (use --nossl1 --notls1 to turn off SSL and TLS wizardry) Host2: probing ssl on port 993 ( use --nosslcheck to avoid this ssl probe ) Host2: sslcheck detected open ssl port 993 so turning ssl on (use --nossl2 --notls2 to turn off SSL and TLS wizardry) SSL debug mode level is --debugssl 1 (can be set from 0 meaning no debug to 4 meaning max debug) Host1: SSL default mode is like --sslargs1 "SSL_verify_mode=0", meaning for host1 SSL_VERIFY_NONE, ie, do not check the certificate server. Host1: Use --sslargs1 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the certificate server of host1 Host2: SSL default mode is like --sslargs2 "SSL_verify_mode=0", meaning for host2 SSL_VERIFY_NONE, ie, do not check the certificate server. Host2: Use --sslargs2 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the certificate server of host2 Info: turned ON syncinternaldates, will set the internal dates (arrival dates) on host2 same as host1. Host1: will try to use LOGIN authentication on host1 Host2: will try to use LOGIN authentication on host2 Host1: imap connection timeout is 120 seconds Host2: imap connection timeout is 120 seconds Host1: IMAP server [imap.kinghost.net] port [993] user [rp@farinon.com.br] Host2: IMAP server [cloud020.ca.san.psi.br] port [993] user [rp@farinon.com.br] Host1: connecting and login on host1 [imap.kinghost.net] port [993] with user [rp@farinon.com.br] Host1 IP address: 2804:10:8016::216:6 Host1 banner: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready. Host1 capability before authentication: IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH Host1: imap.kinghost.net says it has CAPABILITY for AUTHENTICATE LOGIN Host1: success login on [imap.kinghost.net] with user [rp@farinon.com.br] auth [LOGIN] or [LOGIN] Host2: connecting and login on host2 [cloud020.ca.san.psi.br] port [993] with user [rp@farinon.com.br] Host2 IP address: 51.222.203.23 Host2 banner: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE NAMESPACE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot ready. Host2 capability before authentication: IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE NAMESPACE LITERAL+ AUTH=PLAIN AUTH=LOGIN AUTH Host2: cloud020.ca.san.psi.br says it has CAPABILITY for AUTHENTICATE LOGIN Host2: success login on [cloud020.ca.san.psi.br] with user [rp@farinon.com.br] auth [LOGIN] or [LOGIN] Host1: state Authenticated Host2: state Authenticated Host1 capability once authenticated: IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY IMAP4rev1 LITERAL+ NOTIFY SPECIAL-USE COMPRESS=DEFLATE QUOTA THREAD I18NLEVEL CONTEXT SNIPPET PREVIEW COMPRESS Host2 capability once authenticated: IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE NAMESPACE LITERAL+ NOTIFY SPECIAL-USE COMPRESS=DEFLATE QUOTA THREAD I18NLEVEL CONTEXT SNIPPET PREVIEW STATUS COMPRESS Host1: found ID capability. Sending/receiving ID, presented in raw IMAP for now. In order to avoid sending/receiving ID, use option --noid Sending: 4 ID ("name" "imapsync" "version" "2.140" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "05-Jul-2021 20:14:18 +0000" "side" "host1") Sent 181 bytes Read: * ID ("name" "Dovecot") 4 OK ID completed (0.001 + 0.000 secs). Host2: found ID capability. Sending/receiving ID, presented in raw IMAP for now. In order to avoid sending/receiving ID, use option --noid Sending: 4 ID ("name" "imapsync" "version" "2.140" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "05-Jul-2021 20:14:18 +0000" "side" "host2") Sent 181 bytes Read: * ID ("name" "Dovecot") 4 OK ID completed (0.001 + 0.000 secs). Host2: found quota, presented in raw IMAP Sending: 5 GETQUOTAROOT INBOX Sent 22 bytes Read: * QUOTAROOT INBOX Mailbox "cPanel Account" * QUOTA Mailbox (MESSAGE 137 2147483647) * QUOTA "cPanel Account" (STORAGE 124 104857600) 5 OK Getquotaroot completed (0.001 + 0.000 secs). Host2: Quota current storage is 126976 bytes. Limit is 107374182400 bytes. So 0.00 % full Host1: found 5 folders. Host2: found 8 folders. Host1: guessing separator from folder listing: [.] Host1: separator given by NAMESPACE: [.] Host2: guessing separator from folder listing: [.] Host2: separator given by NAMESPACE: [.] Host1: guessing prefix from folder listing: [INBOX.] Host1: prefix given by NAMESPACE: [INBOX.] Host2: guessing prefix from folder listing: [INBOX.] Host2: prefix given by NAMESPACE: [INBOX.] Host1: separator and prefix: [.][INBOX.] Host2: separator and prefix: [.][INBOX.] Including all folders found by default. Use --subscribed or --folder or --folderrec or --include to select specific folders. Use --exclude to unselect specific folders. Host1: Checking wanted folders exist. Use --nocheckfoldersexist to avoid this check (shared of public namespace targeted). Host1: Checking wanted folders are selectable. Use --nocheckselectable to avoid this check. Turned off automapping folders ( use --automap to turn on automapping ) ++++ Listing folders All foldernames are presented between brackets like [X] where X is the foldername. When a foldername contains non-ASCII characters it is presented in the form [X] = [Y] where X is the imap foldername you have to use in command line options and Y is the utf8 output just printed for convenience, to recognize it. Host1: folders list (first the raw imap format then the [X] = [Y]): * LIST (\HasChildren) "." INBOX * LIST (\HasNoChildren \UnMarked) "." INBOX.Trash * LIST (\HasNoChildren) "." INBOX.Sent * LIST (\HasNoChildren) "." INBOX.Drafts * LIST (\HasNoChildren \UnMarked \Junk) "." INBOX.Spam 14 OK List completed (0.001 + 0.000 secs). [INBOX] [INBOX.Drafts] [INBOX.Sent] [INBOX.Spam] [INBOX.Trash] Host2: folders list (first the raw imap format then the [X] = [Y]): * LIST (\HasChildren) "." INBOX * LIST (\HasNoChildren) "." INBOX.Spam * LIST (\HasNoChildren \Sent) "." INBOX.Sent * LIST (\HasNoChildren) "." INBOX.Junk * LIST (\HasNoChildren \Drafts) "." INBOX.Drafts * LIST (\HasNoChildren \Trash) "." INBOX.Trash * LIST (\HasNoChildren \Junk) "." INBOX.spam * LIST (\HasNoChildren \Archive) "." INBOX.Archive 10 OK List completed (0.001 + 0.000 secs). [INBOX] [INBOX.Archive] [INBOX.Drafts] [INBOX.Junk] [INBOX.Sent] [INBOX.Spam] [INBOX.Trash] [INBOX.spam] Folders in host2 not in host1: [INBOX.spam] [INBOX.Junk] [INBOX.Archive] Checking SEARCH ALL works on both accounts. To avoid that check, use --nochecknoabletosearch Host1: checking if SEARCH ALL works on INBOX Host1: folder [INBOX] has 83 messages mentioned by SELECT Host1: folder [INBOX] has 83 messages found by SEARCH ALL Host1: folder [INBOX] has the same messages count (83) by SELECT and SEARCH ALL Host2: checking if SEARCH ALL works on INBOX Host2: folder [INBOX] has 84 messages mentioned by SELECT Host2: folder [INBOX] has 84 messages found by SEARCH ALL Host2: folder [INBOX] has the same messages count (84) by SELECT and SEARCH ALL Good! SEARCH ALL works on both accounts. Folders sizes before the synchronization. You can remove foldersizes listings by using "--nofoldersizes" and "--nofoldersizesatend" but then you will also lose the ETA (Estimation Time of Arrival) given after each message copy. Host1 folder 1/5 [INBOX] Size: 8776460 Messages: 83 Biggest: 4473820 Host2 folder 1/5 [INBOX] Size: 8864496 Messages: 84 Biggest: 4473820 Host2-Host1 88036 1 0 Host1 folder 2/5 [INBOX.Drafts] Size: 0 Messages: 0 Biggest: 0 Host2 folder 2/5 [INBOX.Drafts] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 3/5 [INBOX.Sent] Size: 0 Messages: 0 Biggest: 0 Host2 folder 3/5 [INBOX.Sent] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 4/5 [INBOX.Spam] Size: 1742682 Messages: 53 Biggest: 75357 Host2 folder 4/5 [INBOX.Spam] Size: 1742682 Messages: 53 Biggest: 75357 Host2-Host1 0 0 0 Host1 folder 5/5 [INBOX.Trash] Size: 0 Messages: 0 Biggest: 0 Host2 folder 5/5 [INBOX.Trash] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 Nb folders: 5 folders Host2 Nb folders: 5 folders Host1 Nb messages: 136 messages Host2 Nb messages: 137 messages Host1 Total size: 10519142 bytes (10.032 MiB) Host2 Total size: 10607178 bytes (10.116 MiB) Host1 Biggest message: 4473820 bytes (4.267 MiB) Host2 Biggest message: 4473820 bytes (4.267 MiB) Time spent on sizing: 5.0 seconds ++++ Looping on each one of 5 folders to sync ETA: Wednesday 29 June 2022-06-29 21:12:46 -0300 -03 0 s 136/136 msgs left Folder 1/5 [INBOX] -> [INBOX] Host1: folder [INBOX] has 83 messages in total (mentioned by SELECT) Host2: folder [INBOX] has 84 messages in total (mentioned by SELECT) Host2: folder [INBOX] permanentflags: Host1: folder [INBOX] considering 83 messages Host2: folder [INBOX] considering 84 messages Local cache directory: /tmp/imapsync_cache/imap.kinghost.net/rp@farinon.com.br/cloud020.ca.san.psi.br/rp@farinon.com.br/INBOX/INBOX ( 108 characters long ) CACHE h1 h2: 83 files Host1: folder [INBOX] selected 83 messages, duplicates 0 Host2: folder [INBOX] selected 84 messages, duplicates 0 ETA: Wednesday 29 June 2022-06-29 21:13:09 -0300 -03 23 s 53/136 msgs left Folder 2/5 [INBOX.Drafts] -> [INBOX.Drafts] Host1: folder [INBOX.Drafts] has 0 messages in total (mentioned by SELECT) Host2: folder [INBOX.Drafts] has 0 messages in total (mentioned by SELECT) Host2: folder [INBOX.Drafts] permanentflags: Host1: folder [INBOX.Drafts] considering 0 messages Host2: folder [INBOX.Drafts] considering 0 messages Local cache directory: /tmp/imapsync_cache/imap.kinghost.net/rp@farinon.com.br/cloud020.ca.san.psi.br/rp@farinon.com.br/INBOX/Drafts/INBOX/Drafts ( 122 characters long ) CACHE h1 h2: 0 files Host1: folder [INBOX.Drafts] selected 0 messages, duplicates 0 Host2: folder [INBOX.Drafts] selected 0 messages, duplicates 0 ETA: Wednesday 29 June 2022-06-29 21:13:25 -0300 -03 38 s 53/136 msgs left Folder 3/5 [INBOX.Sent] -> [INBOX.Sent] Host1: folder [INBOX.Sent] has 0 messages in total (mentioned by SELECT) Host2: folder [INBOX.Sent] has 0 messages in total (mentioned by SELECT) Host2: folder [INBOX.Sent] permanentflags: Host1: folder [INBOX.Sent] considering 0 messages Host2: folder [INBOX.Sent] considering 0 messages Local cache directory: /tmp/imapsync_cache/imap.kinghost.net/rp@farinon.com.br/cloud020.ca.san.psi.br/rp@farinon.com.br/INBOX/Sent/INBOX/Sent ( 118 characters long ) CACHE h1 h2: 0 files Host1: folder [INBOX.Sent] selected 0 messages, duplicates 0 Host2: folder [INBOX.Sent] selected 0 messages, duplicates 0 ETA: Wednesday 29 June 2022-06-29 21:13:40 -0300 -03 53 s 53/136 msgs left Folder 4/5 [INBOX.Spam] -> [INBOX.Spam] Host1: folder [INBOX.Spam] has 53 messages in total (mentioned by SELECT) Host2: folder [INBOX.Spam] has 53 messages in total (mentioned by SELECT) Host2: folder [INBOX.Spam] permanentflags: Host1: folder [INBOX.Spam] considering 53 messages Host2: folder [INBOX.Spam] considering 53 messages Local cache directory: /tmp/imapsync_cache/imap.kinghost.net/rp@farinon.com.br/cloud020.ca.san.psi.br/rp@farinon.com.br/INBOX/Spam/INBOX/Spam ( 118 characters long ) CACHE h1 h2: 53 files Host1: folder [INBOX.Spam] selected 53 messages, duplicates 0 Host2: folder [INBOX.Spam] selected 53 messages, duplicates 0 ETA: Wednesday 29 June 2022-06-29 21:12:47 -0300 -03 0 s 0/136 msgs left Folder 5/5 [INBOX.Trash] -> [INBOX.Trash] Host1: folder [INBOX.Trash] has 0 messages in total (mentioned by SELECT) Host2: folder [INBOX.Trash] has 0 messages in total (mentioned by SELECT) Host2: folder [INBOX.Trash] permanentflags: Host1: folder [INBOX.Trash] considering 0 messages Host2: folder [INBOX.Trash] considering 0 messages Local cache directory: /tmp/imapsync_cache/imap.kinghost.net/rp@farinon.com.br/cloud020.ca.san.psi.br/rp@farinon.com.br/INBOX/Trash/INBOX/Trash ( 120 characters long ) CACHE h1 h2: 0 files Host1: folder [INBOX.Trash] selected 0 messages, duplicates 0 Host2: folder [INBOX.Trash] selected 0 messages, duplicates 0 ETA: Wednesday 29 June 2022-06-29 21:12:48 -0300 -03 0 s 0/136 msgs left ++++ End looping on each folder Folders sizes after the synchronization. You can remove this foldersizes listing by using "--nofoldersizesatend" Host1 folder 1/5 [INBOX] Size: 8776460 Messages: 83 Biggest: 4473820 Host2 folder 1/5 [INBOX] Size: 8864496 Messages: 84 Biggest: 4473820 Host2-Host1 88036 1 0 Host1 folder 2/5 [INBOX.Drafts] Size: 0 Messages: 0 Biggest: 0 Host2 folder 2/5 [INBOX.Drafts] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 3/5 [INBOX.Sent] Size: 0 Messages: 0 Biggest: 0 Host2 folder 3/5 [INBOX.Sent] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 4/5 [INBOX.Spam] Size: 1742682 Messages: 53 Biggest: 75357 Host2 folder 4/5 [INBOX.Spam] Size: 1742682 Messages: 53 Biggest: 75357 Host2-Host1 0 0 0 Host1 folder 5/5 [INBOX.Trash] Size: 0 Messages: 0 Biggest: 0 Host2 folder 5/5 [INBOX.Trash] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 Nb folders: 5 folders Host2 Nb folders: 5 folders Host1 Nb messages: 136 messages Host2 Nb messages: 137 messages Host1 Total size: 10519142 bytes (10.032 MiB) Host2 Total size: 10607178 bytes (10.116 MiB) Host1 Biggest message: 4473820 bytes (4.267 MiB) Host2 Biggest message: 4473820 bytes (4.267 MiB) Time spent on sizing: 1.7 seconds ++++ Statistics Transfer started on : Wednesday 29 June 2022-06-29 21:12:41 -0300 -03 Transfer ended on : Wednesday 29 June 2022-06-29 21:12:49 -0300 -03 Transfer time : 8.6 sec Folders synced : 5/5 synced Messages transferred : 0 Messages skipped : 136 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 : 1 messages Messages deleted on host1 : 0 Messages deleted on host2 : 0 Total bytes transferred : 0 (0.000 KiB) Total bytes skipped : 10519142 (10.032 MiB) Message rate : 0.0 messages/s Average bandwidth rate : 0.0 KiB/s Reconnections to host1 : 0 Reconnections to host2 : 0 Memory consumption at the end : 268.1 MiB (started with 238.0 MiB) Load end is : 1.42 1.92 2.35 1/1743 on 48 cores CPU time and %cpu : 0.39 sec 4.5 %cpu 0.1 %allcpus Biggest message transferred : 0 bytes (0.000 KiB) Memory/biggest message ratio : NA Start difference host2 - host1 : 1 messages, 88036 bytes (85.973 KiB) Final difference host2 - host1 : 1 messages, 88036 bytes (85.973 KiB) The sync is not strict, there are 1 among 1 identified messages in host2 that are not on host1. Use --delete2 and sync again to delete them and have a strict sync. Detected 0 errors Check if a new imapsync release is available by adding --releasecheck Homepage: https://imapsync.lamiral.info/ Exiting with return value 0 (EX_OK: successful termination) 0/50 nb_errors/max_errors PID 4190760 Removing pidfile /tmp/imapsync.pid Log file is LOG_imapsync/2022_06_29_21_12_41_268_rp@farinon.com.br_rp@farinon.com.br.txt ( to change it, use --logfile filepath ; or use --nolog to turn off logging )