Add mbsync rc file for mu4e
This commit is contained in:
parent
e3b5bed9dd
commit
0011e46110
1
.config/emacs
Submodule
1
.config/emacs
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 56ce6cc284e8f4dd0cb0704dde6694a1b8e500ed
|
||||
39
.mbsyncrc
Normal file
39
.mbsyncrc
Normal file
@ -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
|
||||
Loading…
Reference in New Issue
Block a user