Add systemd units for calling mbsync every 5 minutes
[~bandali/configs] / isync / .mbsyncrc
... / ...
CommitLineData
1# Global defaults
2CopyArrivalDate yes
3
4######
5IMAPAccount amin
6Host nix.aminb.org
7User amin@aminb.org
8PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/amin.gpg"
9SSLType IMAPS
10
11IMAPStore amin-remote
12Account amin
13
14MaildirStore amin-local
15Path ~/mail/amin/
16Inbox ~/mail/amin/Inbox
17
18Channel amin
19Master :amin-remote:
20Slave :amin-local:
21Patterns * !dovecot*
22Create Both
23SyncState *
24
25######
26IMAPAccount gmail
27Host imap.gmail.com
28User amin.bandali@gmail.com
29PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/gmail.gpg"
30SSLType IMAPS
31
32IMAPStore gmail-remote
33Account gmail
34
35MaildirStore gmail-local
36Path ~/mail/gmail/
37Inbox ~/mail/gmail/Inbox
38
39Channel gmail-default
40Master :gmail-remote:
41Slave :gmail-local:
42Patterns "INBOX" "Self Notes" "Trash"
43Create Both
44SyncState *
45
46Channel gmail-drafts
47Master :gmail-remote:"[Gmail]/Drafts"
48Slave :gmail-local:Drafts
49Create Both
50SyncState *
51
52Channel gmail-sent
53Master :gmail-remote:"[Gmail]/Sent Mail"
54Slave :gmail-local:Sent
55Create Both
56SyncState *
57
58Group gmail
59Channel gmail-default
60Channel gmail-drafts
61Channel gmail-sent