summaryrefslogtreecommitdiff
path: root/autoconf/offlineimap_profile.macos
diff options
context:
space:
mode:
Diffstat (limited to 'autoconf/offlineimap_profile.macos')
-rw-r--r--autoconf/offlineimap_profile.macos19
1 files changed, 19 insertions, 0 deletions
diff --git a/autoconf/offlineimap_profile.macos b/autoconf/offlineimap_profile.macos
new file mode 100644
index 0000000..e985538
--- /dev/null
+++ b/autoconf/offlineimap_profile.macos
@@ -0,0 +1,19 @@
+[Account $title]
+
+localrepository = $title-local
+remoterepository = $title-remote
+
+[Repository $title-remote]
+auth_mechanisms = LOGIN
+type = $type
+remoteuser = $login
+sslcacertfile = /usr/local/etc/openssl/cert.pem
+remotepasseval = mailpasswd("$title")
+remotehost = $imap
+remoteport = $iport
+folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail']
+sslcacertfile = /usr/local/etc/openssl/cert.pem
+
+[Repository $title-local]
+type = Maildir
+localfolders = ~/.mail/$title