dotfiles/mail/.mbsyncrc

125 lines
3 KiB
Text
Raw Permalink Normal View History

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