Difference between revisions of "Talk:Imapsync"

From SME Server
Jump to navigationJump to search
(install on SME9beta2)
Line 5: Line 5:
 
  yum --enablerepo=dag,base install imapsync
 
  yum --enablerepo=dag,base install imapsync
  
 +
 +
==== Older Notes and Comments ====
 
  <nowiki>==== Install imapsync ====
 
  <nowiki>==== Install imapsync ====
 
  yum --enablerepo=dag install perl-Mail-IMAPClient-2.2.9 imapsync
 
  yum --enablerepo=dag install perl-Mail-IMAPClient-2.2.9 imapsync

Revision as of 15:49, 20 December 2013

Install imapsync on SME9beta2

CentOS6 / SME9 includes one of the imapsync dependencies (perl-Parse-RecDescent) in the 'base' repo. Consequently, it does not exist in the dag repo.

In order to make perl-Parse-RecDescent available to yum, add the 'base' repo to the installation command:

yum --enablerepo=dag,base install imapsync


Older Notes and Comments

==== 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)