From 0011e461109867327fb7adac58e7d4b04246f498 Mon Sep 17 00:00:00 2001 From: Christopher Paris Date: Wed, 5 Mar 2025 16:11:52 -0500 Subject: [PATCH] Add mbsync rc file for mu4e --- .config/emacs | 1 + .mbsyncrc | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 160000 .config/emacs create mode 100644 .mbsyncrc diff --git a/.config/emacs b/.config/emacs new file mode 160000 index 0000000..56ce6cc --- /dev/null +++ b/.config/emacs @@ -0,0 +1 @@ +Subproject commit 56ce6cc284e8f4dd0cb0704dde6694a1b8e500ed diff --git a/.mbsyncrc b/.mbsyncrc new file mode 100644 index 0000000..cca292e --- /dev/null +++ b/.mbsyncrc @@ -0,0 +1,39 @@ +IMAPAccount gmail +# Address to connect to +Host imap.gmail.com +AuthMechs XOAUTH2 +User christopherrparis1@gmail.com +PassCmd "oama access christopherrparis1@gmail.com" +# Pass *************** +# To store the password in an encrypted file use PassCmd instead of Pass +# PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.mailpass.gpg" +# +# Use TLS +TLSType IMAPS +# The following line should work. If you get certificate errors, uncomment the two following lines and read the "Troubleshooting" section. +CertificateFile /etc/ssl/certs/ca-certificates.crt +#CertificateFile ~/.cert/imap.gmail.com.pem + + +IMAPStore gmail-remote +Account gmail + +MaildirStore gmail-local +SubFolders Verbatim +# The trailing "/" is important +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 *m