2015-12-03 18:16:32 +01:00
|
|
|
#!/bin/cat
|
2016-09-19 17:17:24 +02:00
|
|
|
# $Id: INSTALL.Debian.txt,v 1.7 2016/06/22 19:58:32 gilles Exp gilles $
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
There is one section for Debian 7 and one for Debian 6.
|
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
==========================================
|
|
|
|
= Installing imapsync on Debian 7 Wheezy =
|
|
|
|
==========================================
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
Here are the two commands to install imapsync dependencies.
|
2016-01-22 17:52:28 +01:00
|
|
|
You need root priviledge to run them.
|
|
|
|
|
|
|
|
The first command installs standard Debian packages:
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
apt-get install \
|
|
|
|
libauthen-ntlm-perl \
|
|
|
|
libcrypt-ssleay-perl \
|
|
|
|
libdigest-hmac-perl \
|
|
|
|
libfile-copy-recursive-perl \
|
|
|
|
libio-compress-perl \
|
|
|
|
libio-socket-inet6-perl \
|
|
|
|
libio-socket-ssl-perl \
|
|
|
|
libio-tee-perl \
|
|
|
|
libmodule-scandeps-perl \
|
|
|
|
libnet-ssleay-perl \
|
|
|
|
libpar-packer-perl \
|
2016-09-19 17:17:24 +02:00
|
|
|
libreadonly-perl \
|
2015-05-28 19:04:57 +02:00
|
|
|
libterm-readkey-perl \
|
|
|
|
libtest-pod-perl \
|
|
|
|
libtest-simple-perl \
|
|
|
|
libunicode-string-perl \
|
2016-01-22 17:52:28 +01:00
|
|
|
liburi-perl \
|
|
|
|
cpanminus
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
The second command installs "manually" the Perl module Data::Uniqid
|
2016-01-22 17:52:28 +01:00
|
|
|
because Debian hasn't made it available via a package yet.
|
|
|
|
It also install manually Perl module Mail::IMAPClient because
|
|
|
|
it is good to be up to date:
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
cpanm Data::Uniqid Mail::IMAPClient
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
After installing the dependencies, imapsync should be working.
|
2016-01-22 17:52:28 +01:00
|
|
|
|
|
|
|
You don't have to be root to test and use imapsync.
|
|
|
|
Take the compressed tarball called imapsync-1.xxx.tgz
|
|
|
|
where 1.xxx is the version number.
|
|
|
|
Untar the tarball where you want:
|
|
|
|
|
|
|
|
cd
|
|
|
|
tar xzvf imapsync-1.xxx.tgz
|
|
|
|
|
|
|
|
Go into the directory imapsync-1.xxx
|
|
|
|
|
|
|
|
cd imapsync-1.xxx
|
|
|
|
|
|
|
|
A dependencies test that shows also the basic example:
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
./imapsync
|
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
A live test showing imapsync job:
|
|
|
|
|
|
|
|
./imapsync --testslive
|
|
|
|
|
|
|
|
Now the install command (need root priviledges again):
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
cp imapsync /usr/bin/
|
|
|
|
|
|
|
|
That's finished for the installation part.
|
|
|
|
You can use imapsync.
|
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
Now go to read http://imapsync.lamiral.info/#doc
|
|
|
|
start with the tutorial.
|
|
|
|
|
|
|
|
===========================================
|
|
|
|
= Installing imapsync on Debian 6 Squeeze =
|
|
|
|
===========================================
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
apt-get install \
|
2015-05-28 19:04:57 +02:00
|
|
|
libcrypt-ssleay-perl \
|
|
|
|
libdigest-hmac-perl \
|
|
|
|
libfile-copy-recursive-perl \
|
|
|
|
libio-compress-perl \
|
|
|
|
libio-socket-inet6-perl \
|
|
|
|
libio-socket-ssl-perl \
|
|
|
|
libio-tee-perl \
|
|
|
|
libmodule-scandeps-perl \
|
|
|
|
libnet-ssleay-perl \
|
|
|
|
libpar-packer-perl \
|
2016-09-19 17:17:24 +02:00
|
|
|
libreadonly-perl \
|
2015-05-28 19:04:57 +02:00
|
|
|
libterm-readkey-perl \
|
|
|
|
libtest-pod-perl \
|
|
|
|
libtest-simple-perl \
|
|
|
|
libunicode-string-perl \
|
|
|
|
liburi-perl
|
|
|
|
|
|
|
|
|
|
|
|
perl -MCPAN -e "install Data::Uniqid"
|
|
|
|
perl -MCPAN -e "install Authen::NTLM"
|
2015-12-03 18:16:32 +01:00
|
|
|
perl -MCPAN -e "install Mail::IMAPClient"
|
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
The Perl module Mail::IMAPClient is good to be recent
|
|
|
|
and installed manually.
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
After installing the dependencies, imapsync should be working.
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
You don't have to be root to test and use imapsync.
|
|
|
|
Take the compressed tarball called imapsync-1.xxx.tgz
|
|
|
|
where 1.xxx is the version number.
|
|
|
|
Untar the tarball where you want:
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
cd
|
|
|
|
tar xzvf imapsync-1.xxx.tgz
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
Go into the directory imapsync-1.xxx
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
cd imapsync-1.xxx
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
A dependencies test that shows also the basic example:
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
./imapsync
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
A live test showing imapsync job:
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
./imapsync --testslive
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
Now the install command (need root priviledges again):
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
cp imapsync /usr/bin/
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
That's finished for the installation part.
|
|
|
|
You can use imapsync.
|
2015-05-28 19:04:57 +02:00
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
Now go to read http://imapsync.lamiral.info/#doc
|
|
|
|
start with the tutorial.
|