summaryrefslogtreecommitdiff
path: root/.offlineimaprc
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-04-28 10:51:10 -0400
committerluxagraf <sng@luxagraf.net>2020-04-28 10:51:10 -0400
commit9cb49dc6454ed3d916d7bb0490275650d4a5e54c (patch)
tree78f7a65c06784174d78b3f59720bdd1a3ec288e1 /.offlineimaprc
parent4f2609a1ce3a625389d653ce6e1ef5e65cd73ba9 (diff)
changed to migadu for email
Diffstat (limited to '.offlineimaprc')
-rw-r--r--.offlineimaprc54
1 files changed, 21 insertions, 33 deletions
diff --git a/.offlineimaprc b/.offlineimaprc
index a18fe9d..b5c711c 100644
--- a/.offlineimaprc
+++ b/.offlineimaprc
@@ -1,9 +1,14 @@
[general]
ui = ttyui
-accounts = Fastmail
+accounts = Migadu
pythonfile=~/.mutt/offlineimap.py
fsync = False
+[Account Migadu]
+localrepository = MigaduLocal
+remoterepository = MigaduRemote
+postsynchook = notmuch new
+
[Account Fastmail]
localrepository = FMLocal
remoterepository = FMRemote
@@ -21,7 +26,6 @@ nametrans = lambda folder: {'drafts': 'INBOX.Drafts',
'recipes': 'INBOX.Recipes',
'bookmarks': 'INBOX.Bookmarks',
'quickbridge': 'INBOX.quickbridge',
-
}.get(folder, folder)
@@ -49,34 +53,18 @@ nametrans = lambda folder: {'INBOX.Drafts': 'drafts',
folderfilter = lambda folder: folder in ['INBOX.Drafts', 'INBOX.Starred', 'INBOX.Sent Items', 'INBOX.barcode', 'INBOX', 'INBOX.Trash', 'INBOX.Bookmarks', 'INBOX.Archive']
-#[Account Condemail]
-#localrepository = CondeLocal
-#remoterepository = CondeRemote
-#postsynchook = notmuch new
-#
-#[Repository CondeLocal]
-#type = Maildir
-#localfolders = ~/mail/condemail
-##nametrans = lambda folder: {'drafts': 'INBOX.Drafts',
-## 'trash': 'INBOX.Trash',
-## 'sent': 'INBOX.Sent Items',
-## 'starred': 'INBOX.Starred',
-## 'archive': 'INBOX.Archive',
-## 'darktable': 'INBOX.Darktable',
-## 'recipes': 'INBOX.Recipes',
-## 'bookmarks': 'INBOX.Bookmarks',
-## 'quickbridge': 'INBOX.quickbridge',
-##
-## }.get(folder, folder)
-#
-#
-#[Repository CondeRemote]
-#maxconnections = 1
-#sslcacertfile = /etc/ssl/certs/ca-certificates.crt
-#type = Gmail
-#ssl_version=tls1_2
-#remotehost = imap.gmail.com
-#remoteport = 993
-#remoteuser = scott_gilbertson3@condenast.com
-#ssl = yes
-#remotepasseval = get_password("condemail")
+[Repository MigaduRemote]
+maxconnections = 1
+sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+ssl_versions = tls1_2
+type = IMAP
+remotehost = imap.migadu.com
+remoteport = 993
+remoteuser = sng@luxagraf.net
+ssl = yes
+remotepasseval = get_password("sng@luxagraf.net")
+folderfilter = lambda folder: folder in ['INBOX', 'Sent', 'Trash', 'Bookmarks', 'Archive', 'Drafts']
+
+[Repository MigaduLocal]
+type = Maildir
+localfolders = ~/mail/migadu