Here is imapsync 1.977 on host staging, a linux system with 11.5/15.7 free GiB of RAM with Perl 5.26.1 and Mail::IMAPClient 3.42 Transfer started at Thu Aug 31 13:58:36 2023 PID is 24238 my PPID is 24237 Log file is LOG_imapsync/2023_08_31_13_58_36_880_user01@ox.zepto.international_user3@ox.zepto.international.txt ( to change it, use --logfile path ; or use --nolog to turn off logging ) Load is 0.10 0.04 0.01 1/492 on 6 cores Current directory is /var/www/html/email-migraton-services Real user id is contabo (uid 1000) Effective user id is contabo (euid 1000) $RCSfile: imapsync,v $ $Revision: 1.977 $ $Date: 2019/12/23 20:18:02 $ Command line used, run by /usr/bin/perl: /usr/bin/imapsync --host1 sm01.eastasia.cloudapp.azure.com --user1 user01@ox.zepto.international --password1 MASKED --host2 imap.ox.io --user2 user3@ox.zepto.international --password2 MASKED --ssl2 --maxage 5 Temp directory is /tmp ( to change it use --tmpdir dirpath ) kill -QUIT 24238 # special behavior: call to sub catch_exit kill -TERM 24238 # special behavior: call to sub catch_exit kill -INT 24238 # special behavior: call to sub catch_reconnect kill -HUP 24238 # special behavior: call to sub catch_print kill -USR1 24238 # 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 24238 in /tmp/imapsync.pid Writing also my logfile name in /tmp/imapsync.pid : LOG_imapsync/2023_08_31_13_58_36_880_user01@ox.zepto.international_user3@ox.zepto.international.txt Modules version list: Authen::NTLM 1.09 CGI 4.38 Compress::Zlib 2.074 Crypt::OpenSSL::RSA Not installed Data::Uniqid 0.12 Digest::HMAC_MD5 1.01 Digest::HMAC_SHA1 1.03 Digest::MD5 2.55 Encode 2.88 Encode::IMAPUTF7 1.05 File::Copy::Recursive 0.40 File::Spec 3.67 Getopt::Long 2.49 HTML::Entities 3.69 IO::Socket 1.38 IO::Socket::INET 1.35 IO::Socket::INET6 2.72 IO::Socket::IP 0.38 IO::Socket::SSL 2.060 IO::Tee 0.65 JSON 4.02 JSON::WebToken 0.10 LWP 6.31 MIME::Base64 3.15 Mail::IMAPClient 3.42 Net::Ping 2.55 Net::SSLeay 1.84 Term::ReadKey 2.37 Test::MockObject 1.20161202 Time::HiRes 1.9741 URI::Escape 3.31 Unicode::String 2.10 ( use --no-modulesversion to turn off printing this Perl modules list ) 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 did not detected open ssl port 993. Will use standard 143 port. 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 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 [sm01.eastasia.cloudapp.azure.com] port [143] user [user01@ox.zepto.international] Host2: IMAP server [imap.ox.io] port [993] user [user3@ox.zepto.international] Host1: connecting and login on host1 [sm01.eastasia.cloudapp.azure.com] port [143] with user [user01@ox.zepto.international] Host1 IP address: 13.75.78.250 Host1 banner: * OK IMAP4rev1 SmarterMail Host1 capability before authentication: IMAP4rev1 AUTH=CRAM-MD5 AUTH=PLAIN SASL-IR UIDPLUS QUOTA XLIST CHILDREN ENABLE CONDSTORE AUTH Host1: success login on [sm01.eastasia.cloudapp.azure.com] with user [user01@ox.zepto.international] auth [LOGIN] Host2: connecting and login on host2 [imap.ox.io] port [993] with user [user3@ox.zepto.international] Host2 IP address: 185.74.64.27 Host2 banner: * OK [CAPABILITY IMAP4rev1 ID UIDPLUS NAMESPACE QUOTA AUTH=PLAIN AUTH=LOGIN] Ready Host2 capability before authentication: IMAP4rev1 ID UIDPLUS NAMESPACE QUOTA AUTH=PLAIN AUTH=LOGIN AUTH Host2: imap.ox.io says it has CAPABILITY for AUTHENTICATE LOGIN Host2 info: authmech [LOGIN] user [user3@ox.zepto.international] authuser [] IsUnconnected [] Host2 failure: Error login on [imap.ox.io] with user [user3@ox.zepto.international] auth [LOGIN]: 2 NO [AUTHENTICATIONFAILED] Authentication failed. Exiting with return value 16 (EXIT_AUTHENTICATION_FAILURE) 1/50 nb_errors/max_errors Disconnecting from host1 sm01.eastasia.cloudapp.azure.com user1 user01@ox.zepto.international Log file is LOG_imapsync/2023_08_31_13_58_36_880_user01@ox.zepto.international_user3@ox.zepto.international.txt ( to change it, use --logfile filepath ; or use --nolog to turn off logging )