# mbsyncrc -- see `man mbsync` # 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" # 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-far: Near :karleco-near: Patterns * SyncState * Sync All Create Both CopyArrivalDate yes