Added mbsync

This commit is contained in:
Carolyn Grey Bridgette Knight-Serrano 2019-12-25 11:47:51 -08:00
parent eb9bfe9d16
commit 7f2b48cf9b
Signed by: gigavinyl
GPG Key ID: 50858748146544CB
1 changed files with 34 additions and 0 deletions

34
.mbsyncrc Normal file
View File

@ -0,0 +1,34 @@
IMAPAccount riseup
# Address to connect to
Host imap.riseup.net
User gigavinyl@riseup.net
# To store the password in an encrypted file use PassCmd instead of Pass
PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.password-store/riseup.net.gpg"
#
# 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 riseup-remote
Account riseup
MaildirStore riseup-local
Subfolders Verbatim
# The trailing "/" is important
Path ~/mail/riseup/
Inbox ~/mail/riseup/Inbox
Channel riseup
Master :riseup-remote:
Slave :riseup-local:
# Exclude everything under the internal [Gmail] folder, except the interesting folders
Patterns *
# 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 *