Created
November 19, 2019 01:13
-
-
Save nnathan/130cdfe5a5d4562d5748e710c1fe8070 to your computer and use it in GitHub Desktop.
.mbsyncrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this config is to facilitate one-way backups from fastmail to local maildir, | |
# it is specifically set to "Sync Pull" on the IMAP account to ensure | |
# read-only access. | |
# | |
# to run: | |
# | |
# brew install isync | |
# mbsync -a | |
BufferLimit 1024m | |
IMAPAccount fastmail | |
Host mail.messagingengine.com | |
User billg@microsoft.com | |
Pass hunter2 | |
SSLType IMAPS | |
CertificateFile /usr/local/etc/openssl/cert.pem | |
IMAPStore fastmail-remote | |
Account fastmail | |
MaildirStore fastmail-local | |
Subfolders Verbatim | |
# The trailing "/" is important | |
Path ~/fm/ | |
Inbox ~/fm/INBOX | |
Flatten . | |
Channel fastmail | |
Master :fastmail-remote: | |
Slave :fastmail-local: | |
Patterns * | |
Create Both | |
SyncState * | |
Sync pull | |
Expunge none | |
CopyArrivalDate yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment