Skip to content

Instantly share code, notes, and snippets.

@jniltinho
Last active November 15, 2024 16:12
Show Gist options
  • Save jniltinho/a9241c8e7cdd88a4b6ede178214afaf2 to your computer and use it in GitHub Desktop.
Save jniltinho/a9241c8e7cdd88a4b6ede178214afaf2 to your computer and use it in GitHub Desktop.
Install IMAPSYNC Ubuntu
#!/bin/bash
#
## https://github.com/imapsync/imapsync/tree/master/INSTALL.d
## https://github.com/imapsync/imapsync/blob/master/INSTALL.d/Dockerfile
## https://raw.githubusercontent.com/imapsync/imapsync/master/imapsync
## https://www.managedserver.eu/how-to-migrate-emails-from-one-server-to-another-using-imapsync/
apt update
apt install -y libauthen-ntlm-perl libcgi-pm-perl libcrypt-openssl-rsa-perl libdata-uniqid-perl libparse-recdescent-perl
apt install -y libencode-imaputf7-perl libfile-copy-recursive-perl libfile-tail-perl libio-compress-perl libio-socket-ssl-perl
apt install -y libio-socket-inet6-perl libio-tee-perl libhtml-parser-perl libjson-webtoken-perl libmail-imapclient-perl
apt install -y libmodule-scandeps-perl libpar-packer-perl libproc-processtable-perl libreadonly-perl libregexp-common-perl
apt install -y libsys-meminfo-perl libterm-readkey-perl libtest-mockobject-perl libtest-pod-perl libunicode-string-perl
apt install -y liburi-perl libwww-perl wget
## apt install cpanminus
## cpanm IO::Socket::SSL
wget -N --no-check-certificate https://imapsync.lamiral.info/imapsync -O /usr/local/bin/imapsync
chmod +x /usr/local/bin/imapsync
## Test
imapsync --testslive
imapsync --tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment