use mbsync for syncing mail instead of offlineimap
[~bandali/configs] / isync / .mbsyncrc
1 # Global defaults
2 CopyArrivalDate yes
3
4 ######
5 IMAPAccount aminb
6 Host mail.aminb.org
7 User REDACTED
8 PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.passwd/aminb.gpg"
9 SSLType IMAPS
10
11 IMAPStore aminb-remote
12 Account aminb
13
14 MaildirStore aminb-local
15 Path ~/.mail/aminb/
16 Inbox ~/.mail/aminb/Inbox
17
18 Channel aminb
19 Master :aminb-remote:
20 Slave :aminb-local:
21 Patterns * !dovecot*
22 Create Slave
23 SyncState *
24
25 ######
26 IMAPAccount gmail
27 Host imap.gmail.com
28 User REDACTED
29 PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.passwd/gmail.gpg"
30 SSLType IMAPS
31
32 IMAPStore gmail-remote
33 Account gmail
34
35 MaildirStore gmail-local
36 Path ~/.mail/gmail/
37 Inbox ~/.mail/gmail/Inbox
38
39 Channel gmail
40 Master :gmail-remote:
41 Slave :gmail-local:
42 Patterns * ![Gmail]* "[Gmail]/Sent Mail"
43 Create Slave
44 SyncState *