summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
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