summaryrefslogtreecommitdiff
path: root/autoconf/offlineimap_profile
diff options
context:
space:
mode:
authorLuke <luke@lukesmith.xyz>2018-02-09 23:47:29 -0700
committerLuke <luke@lukesmith.xyz>2018-02-09 23:47:29 -0700
commit914a1bf4d895a986adaa240e857b95c7f49fed4c (patch)
tree0a600d747198fe6143b9986bb71969a0ea47b243 /autoconf/offlineimap_profile
initial commit
Diffstat (limited to 'autoconf/offlineimap_profile')
-rw-r--r--autoconf/offlineimap_profile18
1 files changed, 18 insertions, 0 deletions
diff --git a/autoconf/offlineimap_profile b/autoconf/offlineimap_profile
new file mode 100644
index 0000000..8311e1c
--- /dev/null
+++ b/autoconf/offlineimap_profile
@@ -0,0 +1,18 @@
+[Account $title]
+
+localrepository = $title-local
+remoterepository = $title-remote
+
+[Repository $title-remote]
+type = $type
+remoteuser = $fulladdr
+sslcacerfile = /etc/ssl/cets/ca-certificates.crt
+remotepasseval = mailpasswd("$title")
+remotehost = $imap
+port = $iport
+folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail']
+sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+
+[Repository $title-local]
+type = Maildir
+localfolders = ~/.mail/$title