Here is imapsync 2.314 /opt/homebrew/Cellar/imapsync/2.314_1/libexec/bin/imapsync on host Humperdoos-Mac-mini.local, a darwin system with 2.8/24.0 free GiB of RAM, 48.63% used by processes.
with Perl 5.34.1 and Mail::IMAPClient 3.43
Transfer started at Thursday 06 August 2026-08-06 16:48:51 +0700 +07
PID is 49203 my PPID is 8434
Log file is LOG_imapsync/suthum@advmfr.net_065.log ( to change it, use --logfile path ; or use --nolog to turn off logging )
Load is 13.82 14.11 11.90 on 10 cores
Real user id is humperdoo (uid 501)
Effective user id is humperdoo (euid 501)
$RCSfile: imapsync,v $ $Revision: 2.314 $ $Date: 2025/09/23 16:55:17 $ 
Command line used, run by /usr/bin/perl5.34:
/opt/homebrew/Cellar/imapsync/2.314_1/libexec/bin/imapsync --host1 mail.advmfr.net --user1 suthum@advmfr.net --passfile1 /var/folders/jm/8ynlmmb14pg_srb04g1384kw0000gn/T/imapsync-bulk-ve136qfq/p1 --host2 arome.o2switch.net --user2 suthum@advmfr.net --passfile2 /var/folders/jm/8ynlmmb14pg_srb04g1384kw0000gn/T/imapsync-bulk-ve136qfq/p2 --logdir LOG_imapsync --logfile suthum@advmfr.net_065.log
Current directory is /Users/humperdoo/Github/Internal Tool/tools/imapsync-bulk
Temp directory is /Users/humperdoo/tmp ( to change it use --tmpdir dirpath )
Creating temp directory /Users/humperdoo/tmp
kill -QUIT 49203 # special behavior: call to sub catch_exit
kill -TERM 49203 # special behavior: call to sub catch_exit
kill -INT 49203 # special behavior: call to sub catch_reconnect
kill -HUP 49203 # special behavior: call to sub catch_print
kill -USR1 49203 # special behavior: call to sub toggle_sleep
Logging to a logfile by default. To turn off logging, use --nolog
Directory LOG_imapsync is writable and readable and gointoable. Good.
File /Users/humperdoo/tmp/imapsync.pid does not exist
PID file is /Users/humperdoo/tmp/imapsync.pid ( to change it, use --pidfile filepath ; to avoid it use --pidfile "" )
Writing my PID 49203 in /Users/humperdoo/tmp/imapsync.pid
Writing also my logfile name in /Users/humperdoo/tmp/imapsync.pid : LOG_imapsync/suthum@advmfr.net_065.log
Modules version list ( use --no-modulesversion to turn off printing this Perl modules list ):
Authen::NTLM         1.09
CGI                  4.48
Compress::Zlib       2.102
Crypt::OpenSSL::RSA  0.31
Digest::HMAC_MD5     1.01
Digest::HMAC_SHA1    1.03
Digest::MD5          2.58
Digest::SHA          6.02
Encode               3.0801
Encode::IMAPUTF7     1.07
File::Copy::Recursive 0.45
File::Spec           3.80
Getopt::Long         2.52
HTML::Entities       3.69
IO::Socket           1.46
IO::Socket::INET     1.46
IO::Socket::INET6    2.72
IO::Socket::IP       0.43
IO::Socket::SSL      2.068
IO::Tee              0.65
JSON                 4.10
JSON::WebToken       0.10
LWP                  6.44
MIME::Base64         3.16
Mail::IMAPClient     3.43
Net::Ping            2.74
Net::SSLeay          1.88
Term::ReadKey        2.38
Test::MockObject     1.20200122
Time::HiRes          1.9767
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 ) 
Probing imap ssl on host mail.advmfr.net port 993, got banner: * OK [CAPABILITY IMAP4rev1 LOGIN-REFERRALS ID ENABLE IDLE SASL-IR LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
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 ) 
Probing imap ssl on host arome.o2switch.net port 993, got banner: * OK [CAPABILITY IMAP4rev1 LOGIN-REFERRALS ID ENABLE IDLE SASL-IR LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
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 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 [mail.advmfr.net] port [993] user [suthum@advmfr.net]
Host2: IMAP server [arome.o2switch.net] port [993] user [suthum@advmfr.net]
Host1: connecting and login on host1 [mail.advmfr.net] port [993] with user [suthum@advmfr.net]
DEBUG: .../IO/Socket/SSL.pm:1177: global error: Undefined SSL object
DEBUG: .../IO/Socket/SSL.pm:1177: global error: Undefined SSL object
Host1 IP address: 162.241.219.218 Local IP address: 192.168.1.36
Host1 banner: * OK [CAPABILITY IMAP4rev1 LOGIN-REFERRALS ID ENABLE IDLE SASL-IR LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
Host1 capability before authentication: IMAP4rev1 LOGIN-REFERRALS ID ENABLE IDLE SASL-IR LITERAL+ AUTH=PLAIN AUTH=LOGIN AUTH
Host1: mail.advmfr.net says it has CAPABILITY for AUTHENTICATE LOGIN
Host1 info: authmech [LOGIN] user [suthum@advmfr.net] authuser [] IsUnconnected []
Host1 failure: Error login on [mail.advmfr.net] with user [suthum@advmfr.net] auth [LOGIN]: 2 NO [AUTHENTICATIONFAILED] Authentication failed.
Host1: failed login on [mail.advmfr.net] with user [suthum@advmfr.net] auth [LOGIN]
Host2: connecting and login on host2 [arome.o2switch.net] port [993] with user [suthum@advmfr.net]
DEBUG: .../IO/Socket/SSL.pm:1177: global error: Undefined SSL object
DEBUG: .../IO/Socket/SSL.pm:1177: global error: Undefined SSL object
Host2 IP address: 109.234.162.168 Local IP address: 192.168.1.36
Host2 banner: * OK [CAPABILITY IMAP4rev1 LOGIN-REFERRALS ID ENABLE IDLE SASL-IR LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
Host2 capability before authentication: IMAP4rev1 LOGIN-REFERRALS ID ENABLE IDLE SASL-IR LITERAL+ AUTH=PLAIN AUTH=LOGIN AUTH
Host2: arome.o2switch.net says it has CAPABILITY for AUTHENTICATE LOGIN
Host2: success login on [arome.o2switch.net] with user [suthum@advmfr.net] auth [LOGIN] or [LOGIN]
++++ Listing 1 errors encountered during the sync ( avoid this listing with --noerrorsdump ).
Err 1/1: Host1 failure: Error login on [mail.advmfr.net] with user [suthum@advmfr.net] auth [LOGIN]: 2 NO [AUTHENTICATIONFAILED] Authentication failed.
The most frequent error is ERR_AUTHENTICATION_FAILURE_USER1. Check the credentials for suthum@advmfr.net.
Exiting with return value 161 (EXIT_AUTHENTICATION_FAILURE_USER1) 1/50 nb_errors/max_errors PID 49203
Removing pidfile /Users/humperdoo/tmp/imapsync.pid
Disconnecting from host2 arome.o2switch.net user2 suthum@advmfr.net
Log file is LOG_imapsync/suthum@advmfr.net_065.log ( to change it, use --logfile filepath ; or use --nolog to turn off logging )
