commit 9141d47b0bf01c244eee227a87ae50e869970700 (patch) parent 72424ee2aa3462de26bc9f406152e37902d82050 Author: Alex Karle <alex@alexkarle.com> Date: Wed, 29 Dec 2021 22:06:47 -0500 mbsync: Clean up and document mbsyncrc I took some time to cross check the config against mbsync(1) and commented as I went! Turns out I didn't need to specify the Account separately. Diffstat:
M | etc/mbsyncrc | | | 22 | +++++++++++++++------- |
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/etc/mbsyncrc b/etc/mbsyncrc @@ -1,21 +1,29 @@ # mbsyncrc -- see `man mbsync` -IMAPAccount karleco + +# IMAP side +# SSLType -- connect with SSL +IMAPStore karleco-far User alex@alexkarle.com Host imap.fastmail.com SSLType IMAPS PassCmd "+pass show mail/karleco-ro" -IMAPStore karleco-fastmail -Account karleco - -MaildirStore karleco-local +# Filesystem side +# Flatten -- foo/bar -> foo.bar (better for mutt) +MaildirStore karleco-near Path ~/mail/karleco/ Inbox ~/mail/karleco/INBOX Flatten . +# Channel to connect IMAP to Maildir Stores +# Patterns * -- pull all directories +# SyncState * -- save state of channel in dir/.mbsyncstate +# Sync All -- Pull/Push/New/reNew/Delete/Flags .. all the things! +# Create Both -- directories created both near and far +# CopyArrivalDate -- Sync down the IMAP arrival time (for sorting) Channel karleco -Far :karleco-fastmail: -Near :karleco-local: +Far :karleco-far: +Near :karleco-near: Patterns * SyncState * Sync All