How to install IMAPsync on CentOS

Tags: cent OSimapimapsyncmail

Published on: September 25, 2014 by Karthikeyan B.

How to install IMAPsync on CentOS


Imapsync software is a command line tool that allows incremental and recursive IMAP transfers from one mailbox to another, both anywhere on the internet or on your local network. IMAPsync is used to synchronize mail boxes between two servers using IMAP protocol. This is very useful when it comes to manual email migration from one server to another, especially when there aren’t any control panels involved.IMAPsync runs on Linux, Windows, and MAC OS, Let us look at how the IMAPsync install on a CentOS server can be done.

Installing prerequisites

perl -MCPAN -e “install Test::Inter”
perl -MCPAN -e “install Parse::RecDescent”
perl -MCPAN -e “install Getopt::Long”
perl -MCPAN -e “CPAN::Shell->force(qw(install Date::Manip));”
perl -MCPAN -e “CPAN::Shell->force(qw(install Mail::IMAPClient));”
perl -MCPAN -e “CPAN::Shell->force(qw(install Term::ReadKey));”

Installing Authen::NTLM

tar -xzvf NTLM-1.09.tar.gz
cd NTLM-1.09
perl Makefile.PL
make test
make install

Installing Mail::IMAPClient

tar -xzvf Mail-IMAPClient-2.2.9.tar.gz
cd Mail-IMAPClient-2.2.9
perl Makefile.PL
make test
make install
Installing IMAPsync
rpm -i --nodeps imapsync-1.350-1.el5.rf.noarch.rpm
Command Syntax
imapsync --host1 xx.xx.xx.xx [Source Host Name] --user1 [User Name on Source Server] --password1 xxxxx [Password on Source Server] --host2 xx.xx.xx.xx [Destination Host Name] --user2 [User Name on Destination Serer] --password2 xxxx [password on Destination Server]
Get 24/7 expert server management

Category : Howtos

Karthikeyan B.

Karthikeyan B.

Karthi always loves to tread through less traveled paths. His desire to decipher complex technologies and pursuit for excellence makes this otherwise jovial guy to a tough brain to crack when it comes to technology. He got great intrest in environmental issues and advocates for sustainable, inclusive, development patterns and projects.

You may also read:


Add new commentSIGN IN

Let's Connect


Your Cart

Cart is empty.

Send this to a friend