meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:email:sync [2020/12/08 09:41]
niziak created
linux:email:sync [2020/12/08 15:54] (current)
niziak
Line 17: Line 17:
   * **vdirsyncer** - Vdirsyncer synchronizes your calendars and addressbooks between two storages.   * **vdirsyncer** - Vdirsyncer synchronizes your calendars and addressbooks between two storages.
  
 +===== 3rd party =====
  
   * [[https://​github.com/​lefcha/​imapfilter|IMAPFilter]]   * [[https://​github.com/​lefcha/​imapfilter|IMAPFilter]]
   * [[https://​imapsync.lamiral.info/​|IMAP transfer tool]] ​   * [[https://​imapsync.lamiral.info/​|IMAP transfer tool]] ​
     * onyl between IMAP accounts. But it is possible to use one destination account to archive other accounts inside subfolders (see [[https://​imapsync.lamiral.info/​FAQ.d/​FAQ.Archiving.txt|Imapsync issues and tips about archiving]].     * onyl between IMAP accounts. But it is possible to use one destination account to archive other accounts inside subfolders (see [[https://​imapsync.lamiral.info/​FAQ.d/​FAQ.Archiving.txt|Imapsync issues and tips about archiving]].
-    ​+  ​[[https://​github.com/​joeyates/​imap-backup|imap-backup]] - Backup GMail (or other IMAP) accounts to disk 
 + 
 +===== imapsync ===== 
 + 
 +<file bash copy_emails.sh>​ 
 +#!/bin/bash -eux 
 +USER="​username.surname"​ 
 +LOGIN="​${USER}@example.com"​ 
 +PASS="​userpass"​ 
 +IMAP="​imap.example.com"​ 
 + 
 +SUBFOLDER=${USER/​./​_} 
 + 
 +SUBFOLDER="​archive-${SUBFOLDER}"​ 
 + 
 +ARGS="​--host1 ${IMAP} --user1 ${LOGIN} --password1 ${PASS}"​ 
 +ARGS="​${ARGS} ​ --host2 imap.destination.example.com --user2 archive@destination.example.com --password2 dest_pass --subfolder2 ${SUBFOLDER}"​ 
 + 
 +#​ARGS="​${ARGS} --dry"​ 
 + 
 + 
 +eval docker run gilleslamiral/​imapsync /​usr/​bin/​imapsync ${ARGS} 
 + 
 +</​file>​ 
 + 
 +[[http://​cmsj.net/​2019/​05/​20/​imapsync-docker.html]]