Here is imapsync 1.977 on host privremena, a linux system with 12.7/31.3 free GiB of RAM
with Perl 5.28.1 and Mail::IMAPClient 3.42
Transfer started at Tue Nov 24 18:12:23 2020
PID is 7986 my PPID is 7985
Log file is LOG_imapsync/2020_11_24_18_12_23_373_instagram@oznake.rs_instagram@oznake.rs.txt ( to change it, use --logfile path ; or use --nolog to turn off logging )
Load is 1.65 1.79 1.72 2/1230 on 2 cores
Current directory is /root/imapsync-master
Real user id is root (uid 0)
Effective user id is root (euid 0)
$RCSfile: imapsync,v $ $Revision: 1.977 $ $Date: 2019/12/23 20:18:02 $ 
Command line used, run by /usr/bin/perl:
./imapsync --addheader --automap --host1 188.93.125.32 --host2 194.146.57.50 --password1 MASKED --password2 MASKED --user1 instagram@oznake.rs --user2 instagram@oznake.rs
Temp directory is . ( to change it use --tmpdir dirpath )
Under cgi context
Umask set with 0077 (was 0022)
REMOTE_ADDR is ::ffff:178.218.170.45
HTTP_REFERER is http://148.251.112.220:8080/
HTTP_USER_AGENT is Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0
SERVER_SOFTWARE is ./webserver
SERVER_PORT is 8080
HTTP_COOKIE is imapsync_runs=34; 686c9b6492d74d6d7c41621a12c6956f=la6q3dnkojbe6vjjq7boesovf2
kill -QUIT 7986 # special behavior: call to sub catch_exit
kill -TERM 7986 # special behavior: call to sub catch_exit
kill -INT 7986 # special behavior: call to sub catch_reconnect
kill -HUP 7986 # special behavior: call to sub catch_print
kill -USR1 7986 # special behavior: call to sub toggle_sleep
File ./imapsync_188.93.125.32_instagram@oznake.rs_194.146.57.50_instagram@oznake.rs.pid does not exist
Error reading file ./imapsync_188.93.125.32_instagram@oznake.rs_194.146.57.50_instagram@oznake.rs.pid : No such file or directory
PID file is ./imapsync_188.93.125.32_instagram@oznake.rs_194.146.57.50_instagram@oznake.rs.pid ( to change it, use --pidfile filepath ; to avoid it use --pidfile "" )
Writing my PID 7986 in ./imapsync_188.93.125.32_instagram@oznake.rs_194.146.57.50_instagram@oznake.rs.pid
Writing also my logfile name in ./imapsync_188.93.125.32_instagram@oznake.rs_194.146.57.50_instagram@oznake.rs.pid : LOG_imapsync/2020_11_24_18_12_23_373_instagram@oznake.rs_instagram@oznake.rs.txt
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.
Host2: probing ssl on port 993 ( use --nosslcheck to avoid this ssl probe ) 
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)
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 [188.93.125.32] port [143] user [instagram@oznake.rs]
Host2: IMAP server [194.146.57.50] port [993] user [instagram@oznake.rs]
Host1: connecting and login on host1 [188.93.125.32] port [143] with user [instagram@oznake.rs]
Host1 IP address: 188.93.125.32
Host1 banner: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
Host1 capability before authentication: IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN AUTH
Host1: 188.93.125.32 says it has CAPABILITY for AUTHENTICATE LOGIN
Host1 info: authmech [LOGIN] user [instagram@oznake.rs] authuser [] IsUnconnected []
Host1 failure: Error login on [188.93.125.32] with user [instagram@oznake.rs] auth [LOGIN]: 2 NO [AUTHENTICATIONFAILED] Authentication failed.
Exiting with return value 16 (EXIT_AUTHENTICATION_FAILURE) 1/20 nb_errors/max_errors
Log file is LOG_imapsync/2020_11_24_18_12_23_373_instagram@oznake.rs_instagram@oznake.rs.txt ( to change it, use --logfile filepath ; or use --nolog to turn off logging )
