Skip to content

Instantly share code, notes, and snippets.

@TooKennySupreme
Forked from carlos22/install-imapsync.sh
Created May 30, 2016 11:53
Show Gist options
  • Select an option

  • Save TooKennySupreme/c1b45cb1df98b8f64faccdc545fb9c36 to your computer and use it in GitHub Desktop.

Select an option

Save TooKennySupreme/c1b45cb1df98b8f64faccdc545fb9c36 to your computer and use it in GitHub Desktop.
Install imapsync on Ubuntu 14.04 (trusty)
#!/bin/bash
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install makepasswd rcs perl-doc libio-tee-perl git libmail-imapclient-perl libdigest-md5-file-perl libterm-readkey-perl libfile-copy-recursive-perl build-essential make automake libunicode-string-perl
cd $HOME
git clone git://github.com/imapsync/imapsync.git --depth 1
cd imapsync
sudo make install
## Usage
# imapsync --host1 server1 -user1 user@server1 --password1 user1password --ssl1 --host2 server2 --user2 user@server2 --password2 user2password --ssl2
@forgulencia
Copy link

forgulencia commented Jan 31, 2019

For the poor bastards like me who still uses 14.04 for various reasons:

  1. Clone the repo
  2. There will be an INSTALL.d direcotry, and threre will be prerequisites_imapsync in it, which is an sh script which will tell you what packages are you missing.
  3. The make install step was failing for me, but it turned out I don't need it. Just copied the imapsync to the /usr/bin and voila!

Regards...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment