summaryrefslogtreecommitdiffstats
path: root/offlineimaprc
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-09-09 09:19:00 +0100
committerMatthew Lemon <matt@matthewlemon.com>2020-09-09 09:19:00 +0100
commit8dbeb2d6c11dbef1e39b9ab0fe5370a09ac70fef (patch)
treef0ac08c28da916e315d54fe560466ce40dc085e0 /offlineimaprc
parent31384610f9730c02cbe59b4c8e188949279bca6d (diff)
decent offlineimap and mutt settings
Diffstat (limited to '')
-rw-r--r--offlineimaprc77
1 files changed, 40 insertions, 37 deletions
diff --git a/offlineimaprc b/offlineimaprc
index dd4181c..931ea82 100644
--- a/offlineimaprc
+++ b/offlineimaprc
@@ -1,6 +1,7 @@
[general]
ui = TTY.TTYUI
-accounts = MatthewLemon, Gmail
+#accounts = MatthewLemon, Gmail
+accounts = MatthewLemon
pythonfile=~/.offlineimap.py
fsync = False
@@ -8,54 +9,56 @@ fsync = False
localrepository = MatthewLemon-Local
remoterepository = MatthewLemon-Remote
#status_backend = sqlite
-postsynchook = notmuch new
+#postsynchook = notmuch new
[Repository MatthewLemon-Local]
type = Maildir
localfolders = ~/.mail/matt-matthewlemon.com
# nametrans = lambda folder: {'drafts': '/Drafts',
-# 'sent': '/Sent',
-# 'archive': '/Archive',
-# 'inbox': '/Inbox',
-# }.get(folder, folder)
+# 'sent': '/Sent',
+# 'archive': '/Archive',
+# 'inbox': '/Inbox',
+# }.get(folder, folder)
[Repository MatthewLemon-Remote]
#cert_fingerprint = 54137524fe721f0cbb8a6a0e1e280ade50482e29
maxconnections = 3
type = IMAP
-remotehost = mail.messagingengine.com
+#remotehost = mail.messagingengine.com
+remotehost = imap.fastmail.com
ssl = yes
-sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+#sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+sslcacertfile = /etc/ssl/cert.pem
remoteuser = matthewlemon@fastmail.fm
-remotepasseval = get_pass("fastmail")
+remotepasseval = get_pass("fastmail-offlineimap")
#remotepasseval = keyring.get_password('offlineimap', 'matthewlemon')
-# nametrans = lamda folder: {'/Drafts': 'drafts',
-# '/Sent': 'sent',
-# '/Archive': 'archive',
-# '/Inbox': 'inbox',
-# }.get(folder, folder)
-#folderfilter = lambda folder: folder in ['INBOX', 'INBOX.Sent', 'INBOX.Archive', 'INBOX.Drafts']
-folderfilter = lambda folder: folder in ['INBOX', 'INBOX.Sent Items', 'INBOX.Archive', 'INBOX.Drafts']
+#nametrans = lamda folder: {'/Drafts': 'drafts',
+# '/Sent': 'sent',
+# '/Archive': 'archive',
+# '/Inbox': 'inbox',
+# }.get(folder, folder)
+folderfilter = lambda folder: folder in ['INBOX', 'Archive', 'Sent Items', 'Drafts']
+#folderfilter = lambda folder: folder in ['INBOX', 'INBOX.Sent Items', 'INBOX.Archive', 'INBOX.Drafts']
-[Account Gmail]
-localrepository = Gmail-Local
-remoterepository = Gmail-Remote
-synclabels = yes
-
-[Repository Gmail-Local]
-type = GmailMaildir
-localfolders = ~/.mail/matthew.lemon-gmail.com
-
-[Repository Gmail-Remote]
-type = Gmail
-remoteuser = matthew.lemon@gmail.com
-remotepass = hvhmfbdlgggebxgc
-nametrans = lambda folder: {'drafts': '/Drafts',
- 'sent': '/Sent',
- 'archive': '/Archive',
- 'inbox': '/Inbox',
- }.get(folder, folder)
-folderfilter = lambda foldername: foldername not in ['Gmail]/All Mail']
-sslcacertfile = /etc/ssl/certs/ca-certificates.crt
-ssl_version = tls1_2
+#[Account Gmail]
+#localrepository = Gmail-Local
+#remoterepository = Gmail-Remote
+#synclabels = yes
+#
+#[Repository Gmail-Local]
+#type = GmailMaildir
+#localfolders = ~/.mail/matthew.lemon-gmail.com
+#
+#[Repository Gmail-Remote]
+#type = Gmail
+#remoteuser = matthew.lemon@gmail.com
+#remotepass = hvhmfbdlgggebxgc
+#nametrans = lambda folder: {'drafts': '/Drafts',
+# 'sent': '/Sent',
+# 'archive': '/Archive',
+# 'inbox': '/Inbox',
+# }.get(folder, folder)
+#folderfilter = lambda foldername: foldername not in ['Gmail]/All Mail']
+#sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+#ssl_version = tls1_2