Changes

Jump to navigation Jump to search
1,822 bytes added ,  22:35, 12 October 2008
New page: == imapsync == imapsync allows you to transfer or synchronize data between any two IMAP servers. Author: Gilles LAMIRAL <lamiral-at-linux-france.org> * Author's [http://www.linux-france...
== imapsync ==

imapsync allows you to transfer or synchronize data between any two IMAP servers.

Author: Gilles LAMIRAL <lamiral-at-linux-france.org>

* Author's [http://www.linux-france.org/prj/imapsync/README README]
* Author's [http://www.linux-france.org/prj/imapsync/ChangeLog Change Log]
* Author's [http://www.linux-france.org/prj/imapsync/dist/ Distribution Folder]
* Note about [http://www.linux-france.org/prj/imapsync/BUG_IMAPClient_3.xx Bugs with perl-Mail-IMAPClient-3.x]

=== Installation ===
==== Enable the dag repository ====
{{Repository|dag}}

==== Install imapsync ====
yum –enablerepo=dag install perl-Mail-IMAPClient-2.2.9 imapsync

'''IMPORTANT'''
If you install imapsync without specifying perl-Mail-IMAPClient-'''2.2.9''' on the command line as shown above, yum will download and install the latest available version of perl-Mail-IMAPClient - currently 3.x - which does not work according to the author of imapsync. If this happens, you will get an error about IMAPClient every time you run imapsync.

If you have accidentally installed the wrong version of IMAPClient, you can correct the problem using the command below. When done, reinstall imapsync as shown above.
yum remove perl-Mail-IMAPClient

=== Examples ===
==== Basic Example ====
This example would copy all existing folders from imapuser1@server1 to imapuser2@server2:
/usr/bin/imapsync --host1 server1 --user1 imapuser1 --passfile1 /etc/secret1 --host2 server2 --user2 imapuser2 --passfile2 /etc/secret2

Bear in mind that you would need to create /etc/secret1 and /etc/secret2 containing the correct passwords for imapuser1 and imapuser2 respectively.

==== Advanced Example ====
This example will transfer the public folders 'LearnAsSpam' and 'LearnAsHam' from an Exchange server to the specified user on your SME server.

Navigation menu