dotfiles/mail/.mbsyncrc

63 lines
1.5 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
2021-03-23 23:29:38 +00:00
Host imap.little.kiwi
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
2021-03-23 23:29:38 +00:00
Far :rawlinson-remote:INBOX
Near :rawlinson-local:INBOX
2016-11-07 02:27:14 +00:00
Channel rawlinson-archive
2021-03-23 23:29:38 +00:00
Far :rawlinson-remote:Archive
Near :rawlinson-local:Archive
2016-11-07 02:27:14 +00:00
Channel rawlinson-drafts
2021-03-23 23:29:38 +00:00
Far :rawlinson-remote:Drafts
Near :rawlinson-local:Drafts
2016-11-07 02:27:14 +00:00
Channel rawlinson-junk
2021-03-23 23:29:38 +00:00
Far :rawlinson-remote:Junk
Near :rawlinson-local:Junk
2016-11-07 02:27:14 +00:00
Channel rawlinson-sent
2021-03-23 23:29:38 +00:00
Far :rawlinson-remote:Sent
Near :rawlinson-local:Sent
2016-11-07 02:27:14 +00:00
Channel rawlinson-trash
2021-03-23 23:29:38 +00:00
Far :rawlinson-remote:Trash
Near :rawlinson-local:Trash
2016-11-07 02:27:14 +00:00
# all folders except above
Channel rawlinson-folders
2021-03-23 23:29:38 +00:00
Far :rawlinson-remote:
Near :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