dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 20372995debda3ec9d9a804d3bb5e2476e02a8a7 (tree)
parent 9218b4224eb4065eef65a28759615c3d39733d76
Author: Motiejus Jakštys <motiejus@uber.com>
Date:   Tue, 27 Oct 2020 19:04:56 +0200

add mbsync conf

Diffstat:
Amail/.mbsyncrc | 32++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+), 0 deletions(-)

diff --git a/mail/.mbsyncrc b/mail/.mbsyncrc @@ -0,0 +1,32 @@ +IMAPAccount desired.mta_gmail +# Address to connect to +Host imap.gmail.com +User desired.mta@gmail.com +PassCmd "cat .email.txt" +# Use SSL +SSLType IMAPS +# The following line should work. If 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 +#CertificateFile ~/.cert/Equifax_Secure_CA.pem + +IMAPStore gmail-remote +Account desired.mta_gmail + +MaildirStore gmail-local +SubFolders Verbatim +# The trailing "/" is important +Path ~/.mail/desired.mta_gmail/ +Inbox ~/.mail/desired.mta_gmail/Inbox + +Channel desired_mta.gmail +Master :gmail-remote: +Slave :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 +# Save the synchronization state files in the relevant directory +SyncState *