Here is imapsync 2.229 on host vps-13651112.gugao.com.br, a linux system with 0.3/3.6 free GiB of RAM, 36.43% used by processes. with Perl 5.32.1 and Mail::IMAPClient 3.42 Transfer started at Monday 19 May 2025-05-19 03:17:27 -0300 -03 PID is 3164914 my PPID is 3150677 Log file is LOG_imapsync/2025_05_19_03_17_27_285_tefguguysumare@guguysupermercados.com.br_tefguguysumare@guguysupermercados.com.br.txt ( to change it, use --logfile path ; or use --nolog to turn off logging ) Load is 0.31 0.38 0.35 1/436 on 3 cores Current directory is /home/guguysupermercad/public_html Real user id is root (uid 0) Effective user id is root (euid 0) $RCSfile: imapsync,v $ $Revision: 2.229 $ $Date: 2022/09/14 18:08:24 $ Command line used, run by /usr/bin/perl: /bin/imapsync --host1 192.185.223.35 --user1 tefguguysumare@guguysupermercados.com.br --password1 MASKED --host2 162.240.170.104 --user2 tefguguysumare@guguysupermercados.com.br --password2 MASKED --ssl1 --ssl2 --authmech1 LOGIN --authmech2 LOGIN --syncinternaldates --no-modulesversion Temp directory is /tmp ( to change it use --tmpdir dirpath ) kill -QUIT 3164914 # special behavior: call to sub catch_exit kill -TERM 3164914 # special behavior: call to sub catch_exit kill -INT 3164914 # special behavior: call to sub catch_reconnect kill -HUP 3164914 # special behavior: call to sub catch_print kill -USR1 3164914 # 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 3164914 in /tmp/imapsync.pid Writing also my logfile name in /tmp/imapsync.pid : LOG_imapsync/2025_05_19_03_17_27_285_tefguguysumare@guguysupermercados.com.br_tefguguysumare@guguysupermercados.com.br.txt Info: will resync flags for already transferred messages. Use --noresyncflags to not resync flags. 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 server certificate. Host1: Use --sslargs1 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the server certificate. of host1 Host2: SSL default mode is like --sslargs2 "SSL_verify_mode=0", meaning for host2 SSL_VERIFY_NONE, ie, do not check the server certificate. Host2: Use --sslargs2 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the server certificate. 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 connection keepalive is on on host1. Use --nokeepalive1 to disable it. Host2: imap connection keepalive is on on host2. Use --nokeepalive2 to disable it. Host1: IMAP server [192.185.223.35] port [993] user [tefguguysumare@guguysupermercados.com.br] Host2: IMAP server [162.240.170.104] port [993] user [tefguguysumare@guguysupermercados.com.br] Host1: connecting and login on host1 [192.185.223.35] port [993] with user [tefguguysumare@guguysupermercados.com.br] Host1 IP address: 192.185.223.35 Local IP address: 162.240.170.104 Host1 banner: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE NAMESPACE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot ready. Host1 capability before authentication: IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE NAMESPACE LITERAL+ AUTH=PLAIN AUTH=LOGIN AUTH Host1: 192.185.223.35 says it has CAPABILITY for AUTHENTICATE LOGIN Host1: success login on [192.185.223.35] with user [tefguguysumare@guguysupermercados.com.br] auth [LOGIN] or [LOGIN] Host2: connecting and login on host2 [162.240.170.104] port [993] with user [tefguguysumare@guguysupermercados.com.br] Host2 IP address: 162.240.170.104 Local IP address: 162.240.170.104 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: 162.240.170.104 says it has CAPABILITY for AUTHENTICATE LOGIN Host2: success login on [162.240.170.104] with user [tefguguysumare@guguysupermercados.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 PREVIEW STATUS=SIZE SAVEDATE NAMESPACE LITERAL+ NOTIFY SPECIAL-USE COMPRESS=DEFLATE QUOTA THREAD I18NLEVEL CONTEXT SNIPPET PREVIEW STATUS 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.229" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "14-Sep-2022 18:08:24 +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.229" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "14-Sep-2022 18:08:24 +0000" "side" "host2") Sent 181 bytes Read: * ID ("name" "Dovecot") 4 OK ID completed (0.001 + 0.000 secs). Host2: QUOTA capability found, presented in raw IMAP on next lines Sending: 5 GETQUOTAROOT INBOX Sent 22 bytes Read: * QUOTAROOT INBOX Mailbox "cPanel Account" * QUOTA Mailbox (STORAGE 0 1048576) 5 OK Getquotaroot completed (0.001 + 0.000 secs). Host2: Quota current storage is 0 bytes. Limit is 1073741824 bytes. So 0.00 % full Host1: Compression is off. Use --compress1 to allow compression on host1 Host2: Compression is off. Use --compress2 to allow compression on host2 Host1: found 7 folders. Host2: found 7 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 \Archive) "." INBOX.Archive * LIST (\HasNoChildren \Sent) "." INBOX.Sent * LIST (\HasNoChildren \Drafts) "." INBOX.Drafts * LIST (\HasNoChildren \UnMarked \Trash) "." INBOX.Trash * LIST (\HasNoChildren \Junk) "." INBOX.spam * LIST (\HasNoChildren) "." INBOX.Junk 16 OK List completed (0.001 + 0.000 secs). [INBOX] [INBOX.Archive] [INBOX.Drafts] [INBOX.Junk] [INBOX.Sent] [INBOX.Trash] [INBOX.spam] Host2: folders list (first the raw imap format then the [X] = [Y]): * LIST (\HasChildren) "." INBOX * LIST (\HasNoChildren \Sent) "." INBOX.Sent * LIST (\HasNoChildren) "." INBOX.Junk * LIST (\HasNoChildren \Junk) "." INBOX.spam * LIST (\HasNoChildren \Drafts) "." INBOX.Drafts * LIST (\HasNoChildren \Trash) "." INBOX.Trash * LIST (\HasNoChildren \Archive) "." INBOX.Archive 10 OK List completed (0.001 + 0.000 secs). [INBOX] [INBOX.Archive] [INBOX.Drafts] [INBOX.Junk] [INBOX.Sent] [INBOX.Trash] [INBOX.spam] 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 6 messages mentioned by SELECT Host1: folder [INBOX] has 6 messages found by SEARCH ALL Host1: folder [INBOX] has the same messages count (6) by SELECT and SEARCH ALL Host2: checking if SEARCH ALL works on INBOX Host2: folder [INBOX] has 0 messages mentioned by SELECT Host2: folder [INBOX] has 0 messages found by SEARCH ALL Host2: folder [INBOX] has the same messages count (0) by SELECT and SEARCH ALL Good! SEARCH ALL works on both accounts. Folders sizes before the synchronization. It can take some time. Be patient. 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/7 [INBOX] Size: 218385 Messages: 6 Biggest: 104149 Host2 folder 1/7 [INBOX] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 -218385 -6 -104149 Host1 folder 2/7 [INBOX.Archive] Size: 0 Messages: 0 Biggest: 0 Host2 folder 2/7 [INBOX.Archive] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 3/7 [INBOX.Drafts] Size: 0 Messages: 0 Biggest: 0 Host2 folder 3/7 [INBOX.Drafts] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 4/7 [INBOX.Junk] Size: 0 Messages: 0 Biggest: 0 Host2 folder 4/7 [INBOX.Junk] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 5/7 [INBOX.Sent] Size: 0 Messages: 0 Biggest: 0 Host2 folder 5/7 [INBOX.Sent] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 6/7 [INBOX.Trash] Size: 0 Messages: 0 Biggest: 0 Host2 folder 6/7 [INBOX.Trash] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 7/7 [INBOX.spam] Size: 0 Messages: 0 Biggest: 0 Host2 folder 7/7 [INBOX.spam] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 Nb folders: 7 folders Host2 Nb folders: 7 folders Host1 Nb messages: 6 messages Host2 Nb messages: 0 messages Host1 Total size: 218385 bytes (213.267 KiB) Host2 Total size: 0 bytes (0.000 KiB) Host1 Biggest message: 104149 bytes (101.708 KiB) Host2 Biggest message: 0 bytes (0.000 KiB) Time spent on sizing: 2.4 seconds ++++ Looping on each one of 7 folders to sync ETA: Monday 19 May 2025-05-19 03:17:29 -0300 -03 0 s 6/6 msgs left Folder 1/7 [INBOX] -> [INBOX] Host1: folder [INBOX] has 6 messages in total (mentioned by SELECT) Host2: folder [INBOX] has 0 messages in total (mentioned by SELECT) Host2: folder [INBOX] permanentflags: Host1: folder [INBOX] considering 6 messages Host2: folder [INBOX] considering 0 messages Host1: folder [INBOX] selected 6 messages, duplicates 0 Host2: folder [INBOX] selected 0 messages, duplicates 0 msg INBOX/1 {3185} copied to INBOX/1 3.18 msgs/s 9.887 KiB/s 3.110 KiB copied ETA: Monday 19 May 2025-05-19 03:17:31 -0300 -03 2 s 5/6 msgs left msg INBOX/2 {104149} copied to INBOX/2 3.94 msgs/s 206.754 KiB/s 104.818 KiB copied ETA: Monday 19 May 2025-05-19 03:17:31 -0300 -03 1 s 4/6 msgs left msg INBOX/3 {29432} copied to INBOX/3 5.20 msgs/s 231.599 KiB/s 133.561 KiB copied ETA: Monday 19 May 2025-05-19 03:17:30 -0300 -03 1 s 3/6 msgs left msg INBOX/4 {27428} copied to INBOX/4 6.13 msgs/s 245.723 KiB/s 160.346 KiB copied ETA: Monday 19 May 2025-05-19 03:17:30 -0300 -03 0 s 2/6 msgs left msg INBOX/5 {27429} copied to INBOX/5 6.94 msgs/s 259.920 KiB/s 187.132 KiB copied ETA: Monday 19 May 2025-05-19 03:17:30 -0300 -03 0 s 1/6 msgs left msg INBOX/6 {26762} copied to INBOX/6 7.59 msgs/s 269.668 KiB/s 213.267 KiB copied ETA: Monday 19 May 2025-05-19 03:17:30 -0300 -03 0 s 0/6 msgs left ETA: Monday 19 May 2025-05-19 03:17:30 -0300 -03 0 s 0/6 msgs left Folder 2/7 [INBOX.Archive] -> [INBOX.Archive] Host1: folder [INBOX.Archive] has 0 messages in total (mentioned by SELECT) Host2: folder [INBOX.Archive] has 0 messages in total (mentioned by SELECT) Host2: folder [INBOX.Archive] permanentflags: Host1: folder [INBOX.Archive] considering 0 messages Host2: folder [INBOX.Archive] considering 0 messages Host1: folder [INBOX.Archive] selected 0 messages, duplicates 0 Host2: folder [INBOX.Archive] selected 0 messages, duplicates 0 ETA: Monday 19 May 2025-05-19 03:17:30 -0300 -03 0 s 0/6 msgs left Folder 3/7 [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 Host1: folder [INBOX.Drafts] selected 0 messages, duplicates 0 Host2: folder [INBOX.Drafts] selected 0 messages, duplicates 0 ETA: Monday 19 May 2025-05-19 03:17:30 -0300 -03 0 s 0/6 msgs left Folder 4/7 [INBOX.Junk] -> [INBOX.Junk] Host1: folder [INBOX.Junk] has 0 messages in total (mentioned by SELECT) Host2: folder [INBOX.Junk] has 0 messages in total (mentioned by SELECT) Host2: folder [INBOX.Junk] permanentflags: Host1: folder [INBOX.Junk] considering 0 messages Host2: folder [INBOX.Junk] considering 0 messages Host1: folder [INBOX.Junk] selected 0 messages, duplicates 0 Host2: folder [INBOX.Junk] selected 0 messages, duplicates 0 ETA: Monday 19 May 2025-05-19 03:17:30 -0300 -03 0 s 0/6 msgs left Folder 5/7 [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 Host1: folder [INBOX.Sent] selected 0 messages, duplicates 0 Host2: folder [INBOX.Sent] selected 0 messages, duplicates 0 ETA: Monday 19 May 2025-05-19 03:17:30 -0300 -03 0 s 0/6 msgs left Folder 6/7 [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 Host1: folder [INBOX.Trash] selected 0 messages, duplicates 0 Host2: folder [INBOX.Trash] selected 0 messages, duplicates 0 ETA: Monday 19 May 2025-05-19 03:17:31 -0300 -03 0 s 0/6 msgs left Folder 7/7 [INBOX.spam] -> [INBOX.spam] Host1: folder [INBOX.spam] has 0 messages in total (mentioned by SELECT) Host2: folder [INBOX.spam] has 0 messages in total (mentioned by SELECT) Host2: folder [INBOX.spam] permanentflags: Host1: folder [INBOX.spam] considering 0 messages Host2: folder [INBOX.spam] considering 0 messages Host1: folder [INBOX.spam] selected 0 messages, duplicates 0 Host2: folder [INBOX.spam] selected 0 messages, duplicates 0 ETA: Monday 19 May 2025-05-19 03:17:31 -0300 -03 0 s 0/6 msgs left ++++ End looping on each folder Folders sizes after the synchronization. You can remove this foldersizes listing by using "--nofoldersizesatend" Host1 folder 1/7 [INBOX] Size: 218385 Messages: 6 Biggest: 104149 Host2 folder 1/7 [INBOX] Size: 218385 Messages: 6 Biggest: 104149 Host2-Host1 0 0 0 Host1 folder 2/7 [INBOX.Archive] Size: 0 Messages: 0 Biggest: 0 Host2 folder 2/7 [INBOX.Archive] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 3/7 [INBOX.Drafts] Size: 0 Messages: 0 Biggest: 0 Host2 folder 3/7 [INBOX.Drafts] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 4/7 [INBOX.Junk] Size: 0 Messages: 0 Biggest: 0 Host2 folder 4/7 [INBOX.Junk] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 5/7 [INBOX.Sent] Size: 0 Messages: 0 Biggest: 0 Host2 folder 5/7 [INBOX.Sent] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 6/7 [INBOX.Trash] Size: 0 Messages: 0 Biggest: 0 Host2 folder 6/7 [INBOX.Trash] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 7/7 [INBOX.spam] Size: 0 Messages: 0 Biggest: 0 Host2 folder 7/7 [INBOX.spam] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 Nb folders: 7 folders Host2 Nb folders: 7 folders Host1 Nb messages: 6 messages Host2 Nb messages: 6 messages Host1 Total size: 218385 bytes (213.267 KiB) Host2 Total size: 218385 bytes (213.267 KiB) Host1 Biggest message: 104149 bytes (101.708 KiB) Host2 Biggest message: 104149 bytes (101.708 KiB) Time spent on sizing: 0.9 seconds ++++ Statistics Transfer started on : Monday 19 May 2025-05-19 03:17:27 -0300 -03 Transfer ended on : Monday 19 May 2025-05-19 03:17:32 -0300 -03 Transfer time : 4.9 sec Folders synced : 7/7 synced Messages transferred : 6 Messages skipped : 0 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 : 218385 (213.267 KiB) Total bytes skipped : 0 (0.000 KiB) Message rate : 1.2 messages/s Average bandwidth rate : 43.7 KiB/s Reconnections to host1 : 0 Reconnections to host2 : 0 Memory consumption at the end : 166.8 MiB (*time 0.2 MiB*h) (started with 162.5 MiB) Load end is : 0.29 0.38 0.35 1/437 on 3 cores CPU time and %cpu : 0.69 sec 14.1 %cpu 4.7 %allcpus Biggest message transferred : 104149 bytes (101.708 KiB) Memory/biggest message ratio : 1679.0 Start difference host2 - host1 : -6 messages, -218385 bytes (-213.267 KiB) Final difference host2 - host1 : 0 messages, 0 bytes (0.000 KiB) The sync looks good, all 6 identified messages in host1 are on host2. There is no unidentified message on host1. The sync is strict, all 6 identified messages in host2 are on host1. 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 3164914 Removing pidfile /tmp/imapsync.pid Log file is LOG_imapsync/2025_05_19_03_17_27_285_tefguguysumare@guguysupermercados.com.br_tefguguysumare@guguysupermercados.com.br.txt ( to change it, use --logfile filepath ; or use --nolog to turn off logging )