aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2019-08-13 15:00:39 -0400
committerBen Burwell <ben@benburwell.com>2019-08-13 15:00:39 -0400
commitf5cad5a16abf5ce2ddee2b9e54a16a5385218cbb (patch)
tree475cbc469bceec2a602dc2b01c1e90f92d9ef404
parentb68c557caf0e2274928fc32a69704fbe40d27039 (diff)
offlineimap: adopt
-rw-r--r--templates/.offlineimaprc24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/.offlineimaprc b/templates/.offlineimaprc
new file mode 100644
index 0000000..8b97d59
--- /dev/null
+++ b/templates/.offlineimaprc
@@ -0,0 +1,24 @@
+# vim: ft=cfg:
+
+[general]
+ui = ttyui
+accounts = Fastmail
+
+[Account Fastmail]
+localrepository = Fastmail-Local
+remoterepository = Fastmail-Remote
+postsynchook = notmuch new
+
+[Repository Fastmail-Local]
+type = Maildir
+localfolders = ~/Mail/Fastmail
+
+[Repository Fastmail-Remote]
+type = IMAP
+remotehost = imap.fastmail.com
+remoteport = 993
+remoteuser = benburwell@fastmail.com
+remotepasseval = {{ pass "mail/benburwell@fastmail.com" }}
+maxconnections = 3
+sslcacertfile = /etc/ssl/cert.pem
+ssl = yes