Here is imapsync 2.229 on host vps-13651112.gugao.com.br, a linux system with 0.3/3.6 free GiB of RAM, 37.03% used by processes. with Perl 5.32.1 and Mail::IMAPClient 3.42 Transfer started at Monday 19 May 2025-05-19 02:24:13 -0300 -03 PID is 3162200 my PPID is 3150677 Log file is LOG_imapsync/2025_05_19_02_24_13_694_gustavocapristo@guguysupermercados.com.br_gustavocapristo@guguysupermercados.com.br.txt ( to change it, use --logfile path ; or use --nolog to turn off logging ) Load is 0.55 0.43 0.38 1/430 on 3 cores Current directory is /home/guguysupermercad/public_html Real user id is root (uid 0) Effective user id is root (euid 0) $RCSfile: imapsync,v $ $Revision: 2.229 $ $Date: 2022/09/14 18:08:24 $ Command line used, run by /usr/bin/perl: /bin/imapsync --host1 192.185.223.35 --user1 gustavocapristo@guguysupermercados.com.br --password1 MASKED --host2 162.240.170.104 --user2 gustavocapristo@guguysupermercados.com.br --password2 MASKED --ssl1 --ssl2 --authmech1 LOGIN --authmech2 LOGIN --syncinternaldates --no-modulesversion Temp directory is /tmp ( to change it use --tmpdir dirpath ) kill -QUIT 3162200 # special behavior: call to sub catch_exit kill -TERM 3162200 # special behavior: call to sub catch_exit kill -INT 3162200 # special behavior: call to sub catch_reconnect kill -HUP 3162200 # special behavior: call to sub catch_print kill -USR1 3162200 # 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 3162200 in /tmp/imapsync.pid Writing also my logfile name in /tmp/imapsync.pid : LOG_imapsync/2025_05_19_02_24_13_694_gustavocapristo@guguysupermercados.com.br_gustavocapristo@guguysupermercados.com.br.txt 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 [192.185.223.35] port [993] user [gustavocapristo@guguysupermercados.com.br] Host2: IMAP server [162.240.170.104] port [993] user [gustavocapristo@guguysupermercados.com.br] Host1: connecting and login on host1 [192.185.223.35] port [993] with user [gustavocapristo@guguysupermercados.com.br] Host1 IP address: 192.185.223.35 Local IP address: 162.240.170.104 Host1 banner: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE NAMESPACE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot ready. Host1 capability before authentication: IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE NAMESPACE LITERAL+ AUTH=PLAIN AUTH=LOGIN AUTH Host1: 192.185.223.35 says it has CAPABILITY for AUTHENTICATE LOGIN Host1: success login on [192.185.223.35] with user [gustavocapristo@guguysupermercados.com.br] auth [LOGIN] or [LOGIN] Host2: connecting and login on host2 [162.240.170.104] port [993] with user [gustavocapristo@guguysupermercados.com.br] Host2 IP address: 162.240.170.104 Local IP address: 162.240.170.104 Host2 banner: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE NAMESPACE LITERAL+ AUTH=PLAIN AUTH=LOGIN] Dovecot ready. Host2 capability before authentication: IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE NAMESPACE LITERAL+ AUTH=PLAIN AUTH=LOGIN AUTH Host2: 162.240.170.104 says it has CAPABILITY for AUTHENTICATE LOGIN Host2 info: authmech [LOGIN] user [gustavocapristo@guguysupermercados.com.br] authuser [] IsUnconnected [] Host2 failure: Error login on [162.240.170.104] with user [gustavocapristo@guguysupermercados.com.br] auth [LOGIN]: 2 NO [AUTHENTICATIONFAILED] Authentication failed. Host2: failed login on [162.240.170.104] with user [gustavocapristo@guguysupermercados.com.br] auth [LOGIN] ++++ Listing 1 errors encountered during the sync ( avoid this listing with --noerrorsdump ). Err 1/1: Host2 failure: Error login on [162.240.170.104] with user [gustavocapristo@guguysupermercados.com.br] auth [LOGIN]: 2 NO [AUTHENTICATIONFAILED] Authentication failed. The most frequent error is ERR_AUTHENTICATION_FAILURE_USER2. Check the credentials for gustavocapristo@guguysupermercados.com.br. Exiting with return value 162 (EXIT_AUTHENTICATION_FAILURE_USER2) 1/50 nb_errors/max_errors PID 3162200 Removing pidfile /tmp/imapsync.pid Disconnecting from host1 192.185.223.35 user1 gustavocapristo@guguysupermercados.com.br Log file is LOG_imapsync/2025_05_19_02_24_13_694_gustavocapristo@guguysupermercados.com.br_gustavocapristo@guguysupermercados.com.br.txt ( to change it, use --logfile filepath ; or use --nolog to turn off logging )