summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-03-13 08:18:43 -0700
committerGitHub <noreply@github.com>2018-03-13 08:18:43 -0700
commit56cb13e822eefafa9e140e11776d8d994cba42c6 (patch)
treebd7ec7749ee4b92459afb826e651618edd013dd1 /autoconf
parenta4e016a8f33c76c963df256d47d8b78cb1a80d74 (diff)
parent4537d35666b9c23f82e9c5f2c0e838c09959906a (diff)
Merge pull request #35 from meain/macos
MacOS compatibility
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/offlineimap_header.macos6
-rw-r--r--autoconf/offlineimap_profile.macos19
2 files changed, 25 insertions, 0 deletions
diff --git a/autoconf/offlineimap_header.macos b/autoconf/offlineimap_header.macos
new file mode 100644
index 0000000..86d5678
--- /dev/null
+++ b/autoconf/offlineimap_header.macos
@@ -0,0 +1,6 @@
+[general]
+accounts =
+starttls = yes
+ssl = true
+pythonfile = ~/.config/mutt/credentials/imappwd.py
+
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