I have mounted a VPS with ubuntu, I have installed IMAPSYNC to perform the migration of a pair of mailboxes.
I connect from my mac, through this VPS via ssh and from there I am managing the migration.
From what I have been able to prove, IMAPSYNC continues with the migration even though the connection between my mac and the VPS (ssh) is lost, that seems great to me, because it continues to work without having to be connected (via ssh)
However, I would like to know how can I see the progress of the migration after losing the connection, is there a way to go back to the progress without having to run the command again?
To see what the imapsync command is doing, you can reconnect to the host via ssh and follow the log file with the command "tail -F":
Usually on Linux, when an ssh session ends then the foreground command launched from it (imapsync here) is also ended.
If you want to reconnect at previous sessions, take a look at the commands "screen" or "tmux".