dotfiles/mbsync/.mbsyncrc
Sanchayan Maity 2b89f36dc5 Add support for our now primary fastmail account
While at it, add some macros to mutt and clean up shell script with
shellcheck.

We also stop running imapfilter for anything but our own accounts.
2021-02-13 22:42:20 +05:30

70 lines
1.5 KiB
Text

Create Slave
Expunge Both
SyncState *
IMAPAccount fastmail
Host imap.fastmail.com
Port 993
User maitysanchayan@fastmail.com
PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.fastmail.gpg"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore fastmail-remote
Account fastmail
MaildirStore fastmail-local
SubFolders Verbatim
Path "~/Mail/fastmail/"
Inbox "~/Mail/fastmail/Inbox"
Channel fastmail
Master :fastmail-remote:
Slave :fastmail-local:
Patterns *
Expunge None
CopyArrivalDate yes
Sync All
Create Slave
SyncState *
IMAPAccount asymptotic
Host imap.gmail.com
Port 993
User sanchayan@asymptotic.io
PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.asymptotic.gpg"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore asymptotic-remote
Account asymptotic
MaildirStore asymptotic-local
SubFolders Verbatim
Path "~/Mail/asymptotic/"
Inbox "~/Mail/asymptotic/Inbox"
Channel asymptotic
Master :asymptotic-remote:
Slave :asymptotic-local:
Patterns * ![Gmail]* "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail"
IMAPAccount gmail
Host imap.gmail.com
User maitysanchayan@gmail.com
PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.sanchayan.gpg"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore gmail-remote
Account gmail
MaildirStore gmail-local
Subfolders Verbatim
Path "~/Mail/sanchayan/"
Inbox "~/Mail/sanchayan/Inbox"
Channel gmail
Master :gmail-remote:
Slave :gmail-local:
Patterns * ![Gmail]* "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail"