summaryrefslogtreecommitdiffstats
path: root/mbsyncrc
diff options
context:
space:
mode:
Diffstat (limited to 'mbsyncrc')
-rw-r--r--mbsyncrc77
1 files changed, 40 insertions, 37 deletions
diff --git a/mbsyncrc b/mbsyncrc
index 07b2508..4a405bf 100644
--- a/mbsyncrc
+++ b/mbsyncrc
@@ -1,54 +1,57 @@
SyncState *
Sync Pull All Push All
-IMAPAccount mrlemon@mailforce.net
-Host imap.fastmail.com
-Port 993
-User mrlemon@mailforce.net
-PassCmd "echo $(pass AppPasswords/mbsync_fastmail_may2022)"
+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 fastmail-remote
-Account mrlemon@mailforce.net
-UseNamespace yes
+IMAPStore gmail-remote
+Account gmail
-MaildirStore fastmail-local
+MaildirStore gmail-local
SubFolders Verbatim
-Inbox ~/Mail/fastmail/INBOX
-Path ~/Mail/fastmail/
-Flatten .
+Path ~/.mail/gmail/
+Inbox ~/.mail/gmail/Inbox
-Channel fastmailchannel
-Far :fastmail-remote:
-Near :fastmail-local:
-Patterns *
+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 matthewlemon@protonmail.com
-Host 127.0.0.1
-Port 1143
-#User matt@matthewlemon.com
-User matthewlemon@protonmail.com
-PassCmd "echo $(pass AppPasswords/hydroxide)"
-SSLType None
-#AuthMechs LOGIN
-
-IMAPStore matthewlemonproton-remote
-Account matthewlemon@protonmail.com
+
+IMAPAccount mrlemon@purelymail.com
+Host imap.purelymail.com
+Port 993
+User mrlemon@purelymail.com
+PassCmd "echo $(pass purelymail_neomutt)"
+SSLType IMAPS
+
+IMAPStore purelymail-remote
+Account mrlemon@purelymail.com
UseNamespace yes
-
-MaildirStore matthewlemonproton-local
+
+MaildirStore purelymail-local
SubFolders Verbatim
-Inbox ~/Mail/matthewlemonproton/INBOX
-Path ~/Mail/matthewlemonproton/
+Inbox ~/.mail/purelymail/INBOX
+Path ~/.mail/purelymail/
Flatten .
-
-Channel matthewlemonproton
-Far :matthewlemonproton-remote:
-Near :matthewlemonproton-local:
-Patterns * !"All Mail"*
+
+Channel purelymailchannel
+Far :purelymail-remote:
+Near :purelymail-local:
+Patterns *
Create Both
Expunge Both
SyncState *
+