summaryrefslogtreecommitdiffstats
path: root/e-post/backup.mdwn
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2018-03-31 10:18:30 +0200
committerGustav Eek <gustav.eek@fripost.org>2018-03-31 10:18:30 +0200
commita0cfb02fdaffc070c974e2fa27e86d3abc4522a2 (patch)
tree488ca650064b82cbf867d6595f54ced3f8b9ff97 /e-post/backup.mdwn
parent7ba626f979b3978563aebad41c27954bbb4e40b2 (diff)
parentd0a5d3daa9a56e69bd31a0e3e708963ba1d4cad6 (diff)
Merge branch 'master' into meeting-list
Conflicts: moten.mdwn
Diffstat (limited to 'e-post/backup.mdwn')
-rw-r--r--e-post/backup.mdwn34
1 files changed, 34 insertions, 0 deletions
diff --git a/e-post/backup.mdwn b/e-post/backup.mdwn
index 95c9195..8a33997 100644
--- a/e-post/backup.mdwn
+++ b/e-post/backup.mdwn
@@ -17,3 +17,37 @@ För att se var dina brev, kontakter m.m. sparas på datorn (för det skiljer si
* [offlineimap](https://github.com/nicolas33/offlineimap)
*TODO: Lägg till exempelconfar.*
+
+~/.offlineimaprc exempel, för att synca över mail från gammal email server till ny.
+
+ #src: https://blog.stefanproell.at/2015/11/19/migrate-all-your-mail-between-two-imap-servers-with-offlineimap/
+
+ # To get cert_fingerprint for your site
+ # openssl s_client -connect imap.fripost.org:993 < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout -in /dev/stdin | sed 's/./\L&/g' | sed 's/\://g'
+
+ [general]
+ accounts = Email-Sync
+ maxsyncaccounts = 1
+
+ [Account Email-Sync]
+ remoterepository = old_server
+ localrepository = new_server
+
+ [Repository old_server]
+ type = IMAP
+ remotehost = imap.kolabnow.com
+ remoteuser = user@mykolab.com # your email
+ ssl = yes
+ maxconnections = 1
+ cert_fingerprint = ad0089079bfb568e4c40c99c190e01c064380018 #Site specific
+ #folderfilter = lambda folder: folder not in ['Trash','Kalender','Journal']
+ readonly = true
+
+ [Repository new_server]
+ type = IMAP
+ remotehost = imap.fripost.org
+ remoteuser = user@fripost.org # your email
+ ssl = yes
+ cert_fingerprint = 401265fa4eba49c0cef5f2e4c7497bd03c1b387a #Site specific
+ maxconnections = 1
+