IMAPSYNC for Debian 9 installation

  1. apt-get update
  2. apt-get upgrade
  3. apt-install git libjson-webtoken-perl libauthen-ntlm-perl libcgi-pm-perl libcrypt-openssl-rsa-perl libdata-uniqid-perl libfile-copy-recursive-perl libio-socket-inet6-perl libio-socket-ssl-perl libio-tee-perl libhtml-parser-perl libjson-webtoken-perl libmail-imapclient-perl libparse-recdescent-perl libmodule-scandeps-perl libreadonly-perl libregexp-common-perl libsys-meminfo-perl libterm-readkey-perl libtest-mockobject-perl libtest-pod-perl libunicode-string-perl liburi-perl libwww-perl libtest-nowarnings-perl libtest-deep-perl libtest-warn-perl make cpanminus
  4. Go to a folder where you want to download a git into
  5. git clone https://github.com/imapsync/imapsync.git
  6. chmod +x imapsync
  7. Test it by typing
    1. ./imapsync
  8. cp imapsync /usr/bin/

Done! Item 8 is to make sure you can use this command anywhere on the server. Have fun!