summaryrefslogtreecommitdiffstats
path: root/offlineimaprc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-05-03 20:15:56 +0100
committerMatthew Lemon <y@yulqen.org>2023-05-03 20:15:56 +0100
commit70d5f6d7a146cc8f8d6cc71703eb8b3f70245a62 (patch)
treecf6aef5f754096069fba3ded9a5e7eb7ce3422e8 /offlineimaprc
parent21b2c998efa2fa99ba4015ff2ef100514e0142d6 (diff)
Adds neomutt and all the stuff to Debian
Diffstat (limited to '')
-rw-r--r--offlineimaprc65
1 files changed, 65 insertions, 0 deletions
diff --git a/offlineimaprc b/offlineimaprc
new file mode 100644
index 0000000..da7918b
--- /dev/null
+++ b/offlineimaprc
@@ -0,0 +1,65 @@
+[general]
+ui = TTY.TTYUI
+#accounts = MatthewLemon, Gmail
+accounts = MatthewLemon
+pythonfile=~/.offlineimap.py
+fsync = False
+
+[Account MatthewLemon]
+localrepository = MatthewLemon-Local
+remoterepository = MatthewLemon-Remote
+#status_backend = sqlite
+#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)
+
+[Repository MatthewLemon-Remote]
+#cert_fingerprint = 54137524fe721f0cbb8a6a0e1e280ade50482e29
+maxconnections = 3
+type = IMAP
+#remotehost = mail.messagingengine.com
+remotehost = imap.fastmail.com
+#ssl = yes
+sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+#sslcacertfile = /etc/ssl/cert.pem
+remoteuser = mrlemon@mailforce.net
+remotepasseval = get_pass("evolution_email_fastmail")
+#remotepasseval = keyring.get_password('offlineimap', 'matthewlemon')
+nametrans = lambda folder: {'/Drafts': 'drafts',
+ '/Sent': 'sent',
+ '/Archive': 'archive',
+ '/Inbox': 'inbox',
+ '/Trash': 'trash',
+ }.get(folder, folder)
+folderfilter = lambda folder: folder in ['INBOX', 'Archive', 'Sent', 'Drafts', 'Trash']
+#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
+