summaryrefslogtreecommitdiffstats
path: root/e-post
diff options
context:
space:
mode:
authoreliot <eliot@web>2017-11-19 15:19:37 +0100
committerFripost Admins <admin@fripost.org>2017-11-19 15:19:37 +0100
commitd0898b6b0146009e832fae9f6d80f22169bda514 (patch)
treeb4d66ccc5df44f6aaf91f58fad1250eab3832b8d /e-post
parent89d9c01a2d9c6b31e9f5f45637779e9a9b699693 (diff)
Added offlineimap config
Diffstat (limited to 'e-post')
-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
+