about summary refs log tree commit diff
path: root/config/isync/mbsyncrc.nix
blob: f714b97f0adf990d20196ba39c08003318abc4e0 (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
{ gnupg }:

''
Create Both

MaildirStore local
  Path ~/mail/
  Inbox ~/mail/INBOX
  Subfolders Verbatim

IMAPAccount fastmail
  Host imap.fastmail.com
  User alyssa@fastmail.com
  PassCmd "${gnupg}/bin/gpg -d -q --no-tty ${./imappass.gpg}"
  SSLType IMAPS
  SSLVersions TLSv1.2

IMAPStore fastmail-remote
  Account fastmail

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