.mbsyncrc @ 45d837d285e2

Update
author Steve Losh <steve@stevelosh.com>
date Thu, 31 Aug 2023 16:03:50 -0400
parents eb8dc72799c8
children (none)
# tweaked https://raw.githubusercontent.com/bm4cs/dots/Far/.mbsyncrc

IMAPAccount fastmail
Host imap.fastmail.com
Port 993
User steve@stevelosh.com
PassCmd "pass show mutt/ouroboros/steve@stevelosh.com | head -n 1"
SSLType IMAPS
SSLVersion TLSv1.2
CertificateFile /etc/ssl/certs/ca-certificates.crt

# Remote
IMAPStore mail-remote
Account fastmail

# Local
MaildirStore mail-local
Subfolders Verbatim
Path ~/.mail2/sjl/
Inbox ~/.mail2/sjl/INBOX

# CONNECTIONS SPECIFY LINKS BETWEEN REMOTE AND LOCAL FOLDERS
# CONNECTIONS ARE SPECIFIED USING PATTERNS, WHICH MATCH REMOTE MAIl
# FOLDERS. SOME COMMONLY USED PATTERS INCLUDE:
#
# 1 "*" TO MATCH EVERYTHING
# 2 "!DIR" TO EXCLUDE "DIR"
# 3 "DIR" TO MATCH DIR

Channel mail-inbox
Far :mail-remote:
Near :mail-local:
Patterns INBOX
Create Near
Sync All
Expunge Both
SyncState *

Channel mail-sent
Far :mail-remote:
Near :mail-local:
Patterns "Sent"
Create Both
Sync All
Expunge Both
SyncState *

Channel mail-spam
Far :mail-remote:
Near :mail-local:
Patterns "Uncaught Spam"
Create Near
Sync All
Expunge Both
SyncState *

Channel mail-drafts
Far :mail-remote:
Near :mail-local:
Patterns "Drafts"
Create Near
Sync All
Expunge Both
SyncState *

Channel mail-archive
Far :mail-remote:
Near :mail-local:
Patterns "Arc*"
Create Near
Sync All
Expunge Both
SyncState *

Group mail
Channel mail-inbox
Channel mail-spam
Channel mail-drafts
Channel mail-sent
Channel mail-archive