aboutsummaryrefslogtreecommitdiffstats
path: root/isync
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-07-20 18:50:30 -0400
committerEugene Triguba <hello@eugenetriguba.com>2025-07-20 18:50:30 -0400
commit004db1b9fe33c501907764fe6ecf718afe1bcd92 (patch)
treee98ff0ffb032e7c6b684379b11746b18b756257a /isync
parentReplace barbar with harpoon / adjust config (diff)
downloaddotfiles-004db1b9fe33c501907764fe6ecf718afe1bcd92.zip
Add msmtp/isync setup for local email processing via aerc
Diffstat (limited to 'isync')
-rw-r--r--isync/.config/isync/mbsync.conf56
1 files changed, 56 insertions, 0 deletions
diff --git a/isync/.config/isync/mbsync.conf b/isync/.config/isync/mbsync.conf
new file mode 100644
index 0000000..b562318
--- /dev/null
+++ b/isync/.config/isync/mbsync.conf
@@ -0,0 +1,56 @@
+CopyArrivalDate yes
+Create Near
+Expunge Both
+
+##################
+# Gmail
+##################
+
+IMAPAccount gmail
+Host imap.gmail.com
+User eugenetriguba@gmail.com
+PassCmd "get-password --credential 'Personal Gmail Password'"
+TLSType IMAPS
+AuthMechs PLAIN
+
+MaildirStore gmail-local
+Path ~/Mail/Gmail/
+Inbox ~/Mail/Gmail/INBOX
+SubFolders Verbatim
+
+IMAPStore gmail-remote
+Account gmail
+
+Channel gmail-inbox
+Far :gmail-remote:
+Near :gmail-local:
+Patterns *
+
+##################
+# iCloud
+##################
+
+IMAPAccount icloud
+Host imap.mail.me.com
+User eugenetriguba@gmail.com
+PassCmd "get-password --credential 'Personal iCloud Password'"
+TLSType IMAPS
+AuthMechs PLAIN
+
+MaildirStore icloud-local
+Path ~/Mail/iCloud/
+Inbox ~/Mail/iCloud/INBOX
+SubFolders Verbatim
+
+IMAPStore icloud-remote
+Account icloud
+
+Channel icloud-inbox
+Far :icloud-remote:
+Near :icloud-local:
+Patterns *
+
+# Group for syncing both accounts
+Group primary
+Channel gmail-inbox
+Channel icloud-inbox