I’ve recently discovered MxRoute and started migrating my email to this new server. The documentation contains a few references to imapsync, but there wasn’t enough detail for me. What I did was work the following in a Docker container and it seemed to go well…
# docker build -t imapsync . # docker run -it imapsync /bin/bash # docker run -it imapsync --host1 mail.source.tld --user1 [email protected] --password1 swordfish --ssl1 --host2 host.destination.tld --user2 [email protected] --password2 swordfish -ssl2 FROM --platform=arm64 ubuntu:22.04 RUN apt update && apt upgrade -y RUN apt-get install -y git rcs make makepasswd cpanminus \ gcc libssl-dev libauthen-ntlm-perl \ libclass-load-perl libcrypt-ssleay-perl liburi-perl \ libdata-uniqid-perl libdigest-hmac-perl libdist-checkconflicts-perl \ libfile-copy-recursive-perl libio-compress-perl libio-socket-inet6-perl \ libio-socket-ssl-perl libio-tee-perl libmail-imapclient-perl \ libmodule-scandeps-perl libnet-ssleay-perl libpar-packer-perl \ libreadonly-perl libsys-meminfo-perl libterm-readkey-perl \ libtest-fatal-perl libtest-mock-guard-perl libtest-pod-perl \ libtest-requires-perl libtest-simple-perl libunicode-string-perl RUN apt install cpanminus -y RUN apt install binutils gcc-aarch64-linux-gnu libssl-dev libperl-dev zlib1g-dev -y RUN cpanm Crypt::OpenSSL::RSA Crypt::OpenSSL::Random -force RUN cpanm Mail::IMAPClient JSON::WebToken Test::MockObject RUN cpanm Unicode::String Data::Uniqid RUN cpanm JSON::XS PAR::Packer Proc::ProcessTable Sys::MemInfo Term::ReadKey Unicode::String -force RUN cpanm Authen::NTLM CGI Crypt::OpenSSL::RSA Digest::HMAC Digest::HMAC_MD5 \ Dist::CheckConflicts Encode::IMAPUTF7 File::Copy::Recursive File::Tail \ IO::Socket::INET6 IO::Socket::SSL IO::Tee JSON::WebToken::Crypt::RSA \ LWP::UserAgent Module::ScanDeps Net::SSLeay PAR::Packer Proc::ProcessTable \ Regexp::Common Sys::MemInfo Term::ReadKey Test::Deep Unicode::String RUN apt install git -y RUN apt install apt-file -y && apt-file update RUN git clone https://github.com/imapsync/imapsync.git RUN ln -s /imapsync/imapsync /usr/bin/imapsync RUN imapsync --testslive ENTRYPOINT ["imapsync"]



















































