about summary refs log tree commit diff
path: root/modules/workstation/mail/isync/mbsyncrc.nix
blob: 3a093e35efb5ef1a50adfd402ca2fc6430901cc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ maildir }:

''
Create Both

MaildirStore local
  Path ${maildir}/
  Inbox ${maildir}/INBOX
  Subfolders Verbatim

IMAPAccount fastmail
  Host imap.fastmail.com
  User alyssa@fastmail.com
  PassCmd "cat ~/imappass"
  SSLType IMAPS
  SSLVersions TLSv1.2

IMAPStore fastmail-remote
  Account fastmail

Channel fastmail
  Master :fastmail-remote:
  Slave :local:
  Patterns *
  SyncState *
''