Here is imapsync 2.229 on host ns4.telme.net.br, a netbsd system with 8.0/31.9 free GiB of RAM, 0.00% used by processes. with Perl 5.38.2 and Mail::IMAPClient 3.43 Transfer started at sexta-feira 28 março 2025-03-28 22:45:15 -0300 -03 PID is 19827 my PPID is 26774 Log file is LOG_imapsync/2025_03_28_22_45_15_271_33tactical@33tactical.com.br_33tactical@33tactical.com.br.txt ( to change it, use --logfile path ; or use --nolog to turn off logging ) Load is unknown on 1 cores Current directory is /home/marlon Real user id is marlon (uid 1094) Effective user id is marlon (euid 1094) $RCSfile: imapsync,v $ $Revision: 2.229 $ $Date: 2022/09/14 18:08:24 $ Command line used, run by /usr/pkg/bin/perl: /usr/pkg/bin/imapsync --host1 imap-vip.uni5.net --user1 33tactical@33tactical.com.br --password1 MASKED --host2 localhost --user2 33tactical@33tactical.com.br --password2 MASKED --ssl1 --ssl2 --automap --syncinternaldates --subfolder2 --useuid --noexpunge Temp directory is /tmp ( to change it use --tmpdir dirpath ) kill -QUIT 19827 # special behavior: call to sub catch_exit kill -TERM 19827 # special behavior: call to sub catch_exit kill -INT 19827 # special behavior: call to sub catch_reconnect kill -HUP 19827 # special behavior: call to sub catch_print kill -USR1 19827 # 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 19827 in /tmp/imapsync.pid Writing also my logfile name in /tmp/imapsync.pid : LOG_imapsync/2025_03_28_22_45_15_271_33tactical@33tactical.com.br_33tactical@33tactical.com.br.txt Modules version list ( use --no-modulesversion to turn off printing this Perl modules list ): Authen::NTLM Not installed CGI Not installed Compress::Zlib 2.204 Crypt::OpenSSL::RSA 0.33 Data::Uniqid Not installed Digest::HMAC_MD5 1.04 Digest::HMAC_SHA1 1.04 Digest::MD5 2.58_01 Encode 3.19 Encode::IMAPUTF7 1.05 File::Copy::Recursive 0.45 File::Spec 3.88 Getopt::Long 2.54 HTML::Entities 3.82 IO::Socket 1.52 IO::Socket::INET 1.52 IO::Socket::INET6 2.73 IO::Socket::IP 0.4101 IO::Socket::SSL 2.085 IO::Tee 0.65 JSON 4.10 JSON::WebToken Not installed LWP 6.77 MIME::Base64 3.16_01 Mail::IMAPClient 3.43 Net::Ping 2.76 Net::SSLeay 1.94 Term::ReadKey 2.38 Test::MockObject Not installed Time::HiRes 1.9775 URI::Escape 5.27 Unicode::String 2.10 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 [imap-vip.uni5.net] port [993] user [33tactical@33tactical.com.br] Host2: IMAP server [localhost] port [993] user [33tactical@33tactical.com.br] Host1: connecting and login on host1 [imap-vip.uni5.net] port [993] with user [33tactical@33tactical.com.br] Host1 IP address: 191.6.220.7 Local IP address: 181.233.83.58 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-vip.uni5.net says it has CAPABILITY for AUTHENTICATE LOGIN Host1: success login on [imap-vip.uni5.net] with user [33tactical@33tactical.com.br] auth [LOGIN] or [LOGIN] Host2: connecting and login on host2 [localhost] port [993] with user [33tactical@33tactical.com.br] Host2 IP address: 127.0.0.1 Local IP address: 127.0.0.1 Host2 banner: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot ready. Host2 capability before authentication: IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH=LOGIN AUTH Host2: localhost says it has CAPABILITY for AUTHENTICATE LOGIN Host2: success login on [localhost] with user [33tactical@33tactical.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 MOVE QUOTA THREAD I18NLEVEL CONTEXT 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 LITERAL+ NOTIFY SPECIAL-USE THREAD I18NLEVEL CONTEXT SNIPPET PREVIEW STATUS 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" "netbsd" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "14-Sep-2022 18:08:24 +0000" "side" "host1") Sent 182 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" "netbsd" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "14-Sep-2022 18:08:24 +0000" "side" "host2") Sent 182 bytes Read: * ID ("name" "Dovecot") 4 OK ID completed (0.001 + 0.000 secs). Host2: No QUOTA capability found, skipping it. Host1: Compression is off. Use --compress1 to allow compression on host1 Host2: Compression is off. Use --compress2 to allow compression on host2 Host1: found 6 folders. Host2: found 1 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: [] Host2: prefix given by NAMESPACE: [] Host1: separator and prefix: [.][INBOX.] Host2: separator and prefix: [.][] 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 on automapping folders ( use --noautomap to turn off automapping ) Host1: special INBOX.Spam = \Junk Host1: INBOX.Spam not \Junk because set to INBOX.Junk ++++ 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 \UnMarked) "." INBOX.Junk * LIST (\HasNoChildren \UnMarked) "." INBOX.Sent * LIST (\HasNoChildren \UnMarked) "." INBOX.Drafts * LIST (\HasNoChildren \UnMarked \Junk) "." INBOX.Spam 16 OK List completed (0.001 + 0.000 secs). [INBOX] [INBOX.Drafts] [INBOX.Junk] [INBOX.Sent] [INBOX.Spam] [INBOX.Trash] Host2: folders list (first the raw imap format then the [X] = [Y]): * LIST (\HasNoChildren) "." INBOX 10 OK List completed (0.001 + 0.000 secs). [INBOX] 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 0 messages mentioned by SELECT Host1: folder [INBOX] has 0 messages found by SEARCH ALL Host1: folder [INBOX] has the same messages count (0) 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/6 [INBOX] Size: 0 Messages: 0 Biggest: 0 Host2 folder 1/6 [INBOX] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 2/6 [INBOX.Drafts] Size: 0 Messages: 0 Biggest: 0 Host2 folder 2/6 [Drafts] does not exist yet Host2-Host1 0 0 0 Host1 folder 3/6 [INBOX.Junk] Size: 0 Messages: 0 Biggest: 0 Host2 folder 3/6 [Junk] does not exist yet Host2-Host1 0 0 0 Host1 folder 4/6 [INBOX.Sent] Size: 0 Messages: 0 Biggest: 0 Host2 folder 4/6 [Sent] does not exist yet Host2-Host1 0 0 0 Host1 folder 5/6 [INBOX.Spam] Size: 0 Messages: 0 Biggest: 0 Host2 folder 5/6 [Spam] does not exist yet Host2-Host1 0 0 0 Host1 folder 6/6 [INBOX.Trash] Size: 0 Messages: 0 Biggest: 0 Host2 folder 6/6 [Trash] does not exist yet Host2-Host1 0 0 0 Host1 Nb folders: 6 folders Host2 Nb folders: 6 folders Host1 Nb messages: 0 messages Host2 Nb messages: 0 messages Host1 Total size: 0 bytes (0.000 KiB) Host2 Total size: 0 bytes (0.000 KiB) Host1 Biggest message: 0 bytes (0.000 KiB) Host2 Biggest message: 0 bytes (0.000 KiB) Time spent on sizing: 4.8 seconds ++++ Looping on each one of 6 folders to sync ETA: sexta-feira 28 março 2025-03-28 22:45:20 -0300 -03 0 s 0/0 msgs left Folder 1/6 [INBOX] -> [INBOX] Host1: folder [INBOX] has 0 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 0 messages Host2: folder [INBOX] considering 0 messages Local cache directory: /tmp/imapsync_cache/imap-vip.uni5.net/33tactical@33tactical.com.br/localhost/33tactical@33tactical.com.br/INBOX/INBOX ( 117 characters long ) CACHE h1 h2: 0 files Host1: folder [INBOX] selected 0 messages, duplicates 0 Host2: folder [INBOX] selected 0 messages, duplicates 0 ETA: sexta-feira 28 março 2025-03-28 22:45:20 -0300 -03 0 s 0/0 msgs left Folder 2/6 [INBOX.Drafts] -> [Drafts] Host1: folder [INBOX.Drafts] has 0 messages in total (mentioned by SELECT) Creating folder [Drafts] on host2 Created folder [Drafts] on host2 Host2: folder [Drafts] has 0 messages in total (mentioned by SELECT) Host2: folder [Drafts] permanentflags: Host2: Subscribing to folder Drafts Host1: folder [INBOX.Drafts] considering 0 messages Host2: folder [Drafts] considering 0 messages Local cache directory: /tmp/imapsync_cache/imap-vip.uni5.net/33tactical@33tactical.com.br/localhost/33tactical@33tactical.com.br/INBOX/Drafts/Drafts ( 125 characters long ) CACHE h1 h2: 0 files Host1: folder [INBOX.Drafts] selected 0 messages, duplicates 0 Host2: folder [Drafts] selected 0 messages, duplicates 0 ETA: sexta-feira 28 março 2025-03-28 22:45:20 -0300 -03 0 s 0/0 msgs left Folder 3/6 [INBOX.Junk] -> [Junk] Host1: folder [INBOX.Junk] has 0 messages in total (mentioned by SELECT) Creating folder [Junk] on host2 Created folder [Junk] on host2 Host2: folder [Junk] has 0 messages in total (mentioned by SELECT) Host2: folder [Junk] permanentflags: Host2: Subscribing to folder Junk Host1: folder [INBOX.Junk] considering 0 messages Host2: folder [Junk] considering 0 messages Local cache directory: /tmp/imapsync_cache/imap-vip.uni5.net/33tactical@33tactical.com.br/localhost/33tactical@33tactical.com.br/INBOX/Junk/Junk ( 121 characters long ) CACHE h1 h2: 0 files Host1: folder [INBOX.Junk] selected 0 messages, duplicates 0 Host2: folder [Junk] selected 0 messages, duplicates 0 ETA: sexta-feira 28 março 2025-03-28 22:45:20 -0300 -03 0 s 0/0 msgs left Folder 4/6 [INBOX.Sent] -> [Sent] Host1: folder [INBOX.Sent] has 0 messages in total (mentioned by SELECT) Creating folder [Sent] on host2 Created folder [Sent] on host2 Host2: folder [Sent] has 0 messages in total (mentioned by SELECT) Host2: folder [Sent] permanentflags: Host2: Subscribing to folder Sent Host1: folder [INBOX.Sent] considering 0 messages Host2: folder [Sent] considering 0 messages Local cache directory: /tmp/imapsync_cache/imap-vip.uni5.net/33tactical@33tactical.com.br/localhost/33tactical@33tactical.com.br/INBOX/Sent/Sent ( 121 characters long ) CACHE h1 h2: 0 files Host1: folder [INBOX.Sent] selected 0 messages, duplicates 0 Host2: folder [Sent] selected 0 messages, duplicates 0 ETA: sexta-feira 28 março 2025-03-28 22:45:20 -0300 -03 0 s 0/0 msgs left Folder 5/6 [INBOX.Spam] -> [Spam] Host1: folder [INBOX.Spam] has 0 messages in total (mentioned by SELECT) Creating folder [Spam] on host2 Created folder [Spam] on host2 Host2: folder [Spam] has 0 messages in total (mentioned by SELECT) Host2: folder [Spam] permanentflags: Host1: folder [INBOX.Spam] considering 0 messages Host2: folder [Spam] considering 0 messages Local cache directory: /tmp/imapsync_cache/imap-vip.uni5.net/33tactical@33tactical.com.br/localhost/33tactical@33tactical.com.br/INBOX/Spam/Spam ( 121 characters long ) CACHE h1 h2: 0 files Host1: folder [INBOX.Spam] selected 0 messages, duplicates 0 Host2: folder [Spam] selected 0 messages, duplicates 0 ETA: sexta-feira 28 março 2025-03-28 22:45:20 -0300 -03 0 s 0/0 msgs left Folder 6/6 [INBOX.Trash] -> [Trash] Host1: folder [INBOX.Trash] has 0 messages in total (mentioned by SELECT) Creating folder [Trash] on host2 Created folder [Trash] on host2 Host2: folder [Trash] has 0 messages in total (mentioned by SELECT) Host2: folder [Trash] permanentflags: Host2: Subscribing to folder Trash Host1: folder [INBOX.Trash] considering 0 messages Host2: folder [Trash] considering 0 messages Local cache directory: /tmp/imapsync_cache/imap-vip.uni5.net/33tactical@33tactical.com.br/localhost/33tactical@33tactical.com.br/INBOX/Trash/Trash ( 123 characters long ) CACHE h1 h2: 0 files Host1: folder [INBOX.Trash] selected 0 messages, duplicates 0 Host2: folder [Trash] selected 0 messages, duplicates 0 ETA: sexta-feira 28 março 2025-03-28 22:45:20 -0300 -03 0 s 0/0 msgs left ++++ End looping on each folder Folders sizes after the synchronization. You can remove this foldersizes listing by using "--nofoldersizesatend" Host1 folder 1/6 [INBOX] Size: 0 Messages: 0 Biggest: 0 Host2 folder 1/6 [INBOX] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 2/6 [INBOX.Drafts] Size: 0 Messages: 0 Biggest: 0 Host2 folder 2/6 [Drafts] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 3/6 [INBOX.Junk] Size: 0 Messages: 0 Biggest: 0 Host2 folder 3/6 [Junk] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 4/6 [INBOX.Sent] Size: 0 Messages: 0 Biggest: 0 Host2 folder 4/6 [Sent] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 5/6 [INBOX.Spam] Size: 0 Messages: 0 Biggest: 0 Host2 folder 5/6 [Spam] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 folder 6/6 [INBOX.Trash] Size: 0 Messages: 0 Biggest: 0 Host2 folder 6/6 [Trash] Size: 0 Messages: 0 Biggest: 0 Host2-Host1 0 0 0 Host1 Nb folders: 6 folders Host2 Nb folders: 6 folders Host1 Nb messages: 0 messages Host2 Nb messages: 0 messages Host1 Total size: 0 bytes (0.000 KiB) Host2 Total size: 0 bytes (0.000 KiB) Host1 Biggest message: 0 bytes (0.000 KiB) Host2 Biggest message: 0 bytes (0.000 KiB) Time spent on sizing: 0.3 seconds ++++ Statistics Transfer started on : sexta-feira 28 março 2025-03-28 22:45:15 -0300 -03 Transfer ended on : sexta-feira 28 março 2025-03-28 22:45:20 -0300 -03 Transfer time : 5.2 sec Folders synced : 6/6 synced Messages transferred : 0 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 : 0 (0.000 KiB) Total bytes skipped : 0 (0.000 KiB) 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 : 175.4 MiB (*time 0.3 MiB*h) (started with 167.0 MiB) Load end is : unknown on 1 cores CPU time and %cpu : 1.29 sec 24.9 %cpu 24.9 %allcpus Biggest message transferred : 0 bytes (0.000 KiB) Memory/biggest message ratio : NA Start difference host2 - host1 : 0 messages, 0 bytes (0.000 KiB) Final difference host2 - host1 : 0 messages, 0 bytes (0.000 KiB) The sync is strict, all 0 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 19827 Removing pidfile /tmp/imapsync.pid Log file is LOG_imapsync/2025_03_28_22_45_15_271_33tactical@33tactical.com.br_33tactical@33tactical.com.br.txt ( to change it, use --logfile filepath ; or use --nolog to turn off logging )