From d0898b6b0146009e832fae9f6d80f22169bda514 Mon Sep 17 00:00:00 2001 From: eliot Date: Sun, 19 Nov 2017 15:19:37 +0100 Subject: Added offlineimap config --- e-post/backup.mdwn | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'e-post') 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 + -- cgit v1.2.3