summaryrefslogtreecommitdiffstats
path: root/mbsyncrc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-15 10:23:13 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-15 10:23:13 +0000
commit9e890aa11bda0d9610f54c69730bbb410e9f1dd5 (patch)
tree5e5b0cab1642a53f931c42642f03df675265a3ca /mbsyncrc
parent44a97738c845b725603f56085d0504509f101abf (diff)
Updates various tools config to match Arch config
Diffstat (limited to '')
-rw-r--r--mbsyncrc29
1 files changed, 29 insertions, 0 deletions
diff --git a/mbsyncrc b/mbsyncrc
index 38a0d47..6281385 100644
--- a/mbsyncrc
+++ b/mbsyncrc
@@ -1,6 +1,35 @@
SyncState *
Sync Pull All Push All
+IMAPAccount gmail
+Host imap.gmail.com
+User matthew.lemon@gmail.com
+PassCmd "echo $(pass google_isync_mbsync)"
+SSLType IMAPS
+CertificateFile /etc/ssl/certs/ca-certificates.crt
+
+IMAPStore gmail-remote
+Account gmail
+
+MaildirStore gmail-local
+SubFolders Verbatim
+Path ~/.mail/gmail/
+Inbox ~/.mail/gmail/Inbox
+
+Channel gmail
+Far :gmail-remote:
+Near :gmail-local:
+# Exclude everything under the internal [Gmail] folder, except the interesting folders
+Patterns * ![Gmail]* "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail"
+# Or include everything
+#Patterns *
+# Automatically create missing mailboxes, both locally and on the server
+Create Both
+# Sync the movement of messages between folders and deletions, add after making sure the sync works
+Expunge Both
+# Save the synchronization state files in the relevant directory
+SyncState *
+
IMAPAccount mrlemon@purelymail.com
Host imap.purelymail.com
Port 993