Here is imapsync 2.229 on host forge, a linux system with 0.8/62.7 free GiB of RAM, 18.20% used by processes.
with Perl 5.38.2 and Mail::IMAPClient 3.43
Transfer started at Tuesday 17 February 2026-02-17 03:38:38 -0500 EST
PID is 3879253 my PPID is 3879252
Log file is LOG_imapsync/2026_02_17_03_38_38_608_tj@jongsma.me_tj.txt ( to change it, use --logfile path ; or use --nolog to turn off logging )
Load is 0.34 0.57 0.55 1/1212 on 8 cores
Current directory is /home/johan/clawd
Real user id is johan (uid 1000)
Effective user id is johan (euid 1000)
$RCSfile: imapsync,v $ $Revision: 2.229 $ $Date: 2022/09/14 18:08:24 $ 
Command line used, run by /usr/bin/perl:
/tmp/imapsync --host1 127.0.0.1 --port1 1143 --user1 tj@jongsma.me --passfile1 /tmp/pw1.txt --tls1 --host2 100.70.148.118 --port2 993 --user2 tj --passfile2 /tmp/pw2.txt --ssl2 --sslargs2 SSL_verify_mode=0 --justfolders --dry
Temp directory is /tmp ( to change it use --tmpdir dirpath )
kill -QUIT 3879253 # special behavior: call to sub catch_exit
kill -TERM 3879253 # special behavior: call to sub catch_exit
kill -INT 3879253 # special behavior: call to sub catch_reconnect
kill -HUP 3879253 # special behavior: call to sub catch_print
kill -USR1 3879253 # 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 3879253 in /tmp/imapsync.pid
Writing also my logfile name in /tmp/imapsync.pid : LOG_imapsync/2026_02_17_03_38_38_608_tj@jongsma.me_tj.txt
Modules version list ( use --no-modulesversion to turn off printing this Perl modules list ):
Authen::NTLM         1.09
CGI                  4.63
Compress::Zlib       2.204
Crypt::OpenSSL::RSA  0.33
Data::Uniqid         0.12
Digest::HMAC_MD5     1.04
Digest::HMAC_SHA1    1.04
Digest::MD5          2.58_01
Encode               3.19
Encode::IMAPUTF7     1.07
File::Copy::Recursive 0.45
File::Spec           3.88
Getopt::Long         2.54
HTML::Entities       3.81
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       0.10
LWP                  6.76
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)
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 [127.0.0.1] port [1143] user [tj@jongsma.me]
Host2: IMAP server [100.70.148.118] port [993] user [tj]
Host1: connecting and login on host1 [127.0.0.1] port [1143] with user [tj@jongsma.me]
Host1 IP address: 127.0.0.1 Local IP address: 127.0.0.1
Host1 banner: * OK [CAPABILITY AUTH=PLAIN ID IDLE IMAP4rev1 MOVE STARTTLS UIDPLUS UNSELECT] Proton Mail Bridge 03.21.02 - gluon session ID 1198
Host1 capability before authentication: AUTH=PLAIN ID IDLE IMAP4rev1 STARTTLS AUTH
Host1: Socket successfully converted to SSL
Host1: success login on [127.0.0.1] with user [tj@jongsma.me] auth [LOGIN] or [LOGIN]
Host2: connecting and login on host2 [100.70.148.118] port [993] with user [tj]
Host2 IP address: 100.70.148.118 Local IP address: 100.117.7.9
Host2 banner: * OK [CAPABILITY IMAP4rev2 IMAP4rev1 ENABLE SASL-IR LITERAL+ ID UTF8=ACCEPT JMAPACCESS AUTH=PLAIN AUTH=OAUTHBEARER AUTH=XOAUTH2] Stalwart IMAP4rev2 at your service.
Host2 capability before authentication: IMAP4rev2 IMAP4rev1 ENABLE SASL-IR LITERAL+ ID UTF8=ACCEPT JMAPACCESS AUTH=PLAIN AUTH=OAUTHBEARER AUTH=XOAUTH2 UTF8 AUTH
Host2 info: authmech [LOGIN] user [tj] authuser [] IsUnconnected []
Host2 failure: Error login on [100.70.148.118] with user [tj] auth [LOGIN]: 2 NO [AUTHENTICATIONFAILED] Authentication failed
Host2: failed login on [100.70.148.118] with user [tj] auth [LOGIN]
++++ Listing 1 errors encountered during the sync ( avoid this listing with --noerrorsdump ).
Err 1/1: Host2 failure: Error login on [100.70.148.118] with user [tj] auth [LOGIN]: 2 NO [AUTHENTICATIONFAILED] Authentication failed
The most frequent error is ERR_AUTHENTICATION_FAILURE_USER2. Check the credentials for tj.
Exiting with return value 162 (EXIT_AUTHENTICATION_FAILURE_USER2) 1/50 nb_errors/max_errors PID 3879253
Removing pidfile /tmp/imapsync.pid
Disconnecting from host1 127.0.0.1 user1 tj@jongsma.me
Log file is LOG_imapsync/2026_02_17_03_38_38_608_tj@jongsma.me_tj.txt ( to change it, use --logfile filepath ; or use --nolog to turn off logging )
