dotfiles/mail/.mbsyncrc

123 lines
3.1 KiB
Text
Raw Normal View History

2016-11-07 02:27:14 +00:00
# global config - applied to all channels
Create Both
Expunge Both
SyncState *
# rawlinson
IMAPAccount rawlinson
Host imap.nullpointer.io
2016-11-07 02:27:14 +00:00
User george@rawlinson.net.nz
PassCmd "pass mail/george@rawlinson.net.nz" # get password from pass
AuthMechs LOGIN
SSLType IMAPS
# remote storage
IMAPStore rawlinson-remote
Account rawlinson
2016-11-07 02:27:14 +00:00
# local storage
MaildirStore rawlinson-local
Path ~/.mail/rawlinson/ # must append slash to specify directory
Inbox ~/.mail/rawlinson/INBOX # place inbox inside mail dir
2016-11-07 02:27:14 +00:00
# folders
Channel rawlinson-inbox
Master :rawlinson-remote:INBOX
Slave :rawlinson-local:INBOX
2016-11-07 02:27:14 +00:00
Channel rawlinson-archive
Master :rawlinson-remote:Archive
Slave :rawlinson-local:Archive
2016-11-07 02:27:14 +00:00
Channel rawlinson-drafts
Master :rawlinson-remote:Drafts
Slave :rawlinson-local:Drafts
2016-11-07 02:27:14 +00:00
Channel rawlinson-junk
Master :rawlinson-remote:Junk
Slave :rawlinson-local:Junk
2016-11-07 02:27:14 +00:00
Channel rawlinson-sent
Master :rawlinson-remote:Sent
Slave :rawlinson-local:Sent
2016-11-07 02:27:14 +00:00
Channel rawlinson-trash
Master :rawlinson-remote:Trash
Slave :rawlinson-local:Trash
2016-11-07 02:27:14 +00:00
# all folders except above
Channel rawlinson-folders
Master :rawlinson-remote:
Slave :rawlinson-local:
Patterns * !INBOX !Archive !Drafts !Junk !Sent !Trash
# group all channels, so they can be sync'd with one command `mbsync rawlinson`
Group rawlinson
Channel rawlinson-trash
Channel rawlinson-inbox
Channel rawlinson-archive
Channel rawlinson-drafts
Channel rawlinson-junk
Channel rawlinson-sent
Channel rawlinson-folders
2016-11-07 02:27:14 +00:00
# nullpointer
IMAPAccount nullpointer
Host imap.nullpointer.io
2016-11-07 02:27:14 +00:00
User george@nullpointer.io
PassCmd "pass mail/george@nullpointer.io" # get password from pass
AuthMechs LOGIN
SSLType IMAPS
# remote storage
IMAPStore nullpointer-remote
Account nullpointer
# local storage
MaildirStore nullpointer-local
Path ~/.mail/nullpointer/ # must append slash to specify directory
Inbox ~/.mail/nullpointer/INBOX # place inbox inside mail dir
# folders
Channel nullpointer-inbox
Master :nullpointer-remote:INBOX
Slave :nullpointer-local:INBOX
Channel nullpointer-archive
Master :nullpointer-remote:Archive
Slave :nullpointer-local:Archive
Channel nullpointer-drafts
Master :nullpointer-remote:Drafts
Slave :nullpointer-local:Drafts
Channel nullpointer-junk
Master :nullpointer-remote:Junk
Slave :nullpointer-local:Junk
2016-11-07 02:27:14 +00:00
Channel nullpointer-sent
Master :nullpointer-remote:Sent
Slave :nullpointer-local:Sent
Channel nullpointer-trash
Master :nullpointer-remote:Trash
Slave :nullpointer-local:Trash
# all folders except above
Channel nullpointer-folders
Master :nullpointer-remote:
Slave :nullpointer-local:
Patterns * !INBOX !Archive !Drafts !Junk !Sent !Trash
2016-11-07 02:27:14 +00:00
# group all channels, so they can be sync'd with one command `mbsync nullpointer`
Group nullpointer
Channel nullpointer-trash
Channel nullpointer-inbox
Channel nullpointer-archive
Channel nullpointer-drafts
Channel nullpointer-junk
2016-11-07 02:27:14 +00:00
Channel nullpointer-sent
Channel nullpointer-folders