Talk:Imapsync

From SME Server
Revision as of 23:59, 24 September 2011 by Mmccarn (talk | contribs)
Jump to navigationJump to search
==== 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


Above warning removed from main page as it no longer seems relevant. Mmccarn 15:59, 24 September 2011 (MDT)


Brilliant piece of kit - worked very well for me to move some older folders from one account into an archive account on the same server:

imapsync --noauthmd5 --host1 localhost --user1 sourceaccount --host2 localhost --user2 destaccount --folderrec "Name Of Folder With Old Emails In" --password1 "xxxxxxxx" --password2 "xxxxxxxx"

Judgej 13:50, 25 June 2010 (UTC)