aboutsummaryrefslogtreecommitdiff
path: root/dot_config/isyncrc.tmpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_config/isyncrc.tmpl (renamed from dot_mbsyncrc.tmpl)60
1 files changed, 32 insertions, 28 deletions
diff --git a/dot_mbsyncrc.tmpl b/dot_config/isyncrc.tmpl
index 12b4950..39cce29 100644
--- a/dot_mbsyncrc.tmpl
+++ b/dot_config/isyncrc.tmpl
@@ -1,29 +1,22 @@
IMAPAccount UQAM
Host outlook.office365.com
User kavanagh.ryan@uqam.ca
-PassCmd "mutt_oauth2.py --encryption-pipe='cat' --decryption-pipe='cat' ~/.config/neomutt/accounts/kavanagh.ryan.uqam.ca/xoauth2-token"
+PassCmd "mutt_oauth2.py --encryption-pipe='cat' --decryption-pipe='cat' $XDG_STATE_HOME/xoauth2-tokens/kavanagh.ryan.uqam.ca"
AuthMechs XOAUTH2
TLSType IMAPS
IMAPAccount queensu
Host outlook.office365.com
User 9rak@queensu.ca
-PassCmd "~/bin/mutt_oauth2.py --client-id="08162f7c-0fd2-4200-a84a-f25a4db0b584" --client-secret="TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82" --encryption-pipe="cat" --decryption-pipe="cat" ~/.config/neomutt/accounts/9rak.queensu.ca/xoauth2-token"
-AuthMechs XOAUTH2
-TLSType IMAPS
-
-IMAPAccount mcgill
-Host outlook.office365.com
-User ryan.kavanagh@mail.mcgill.ca
-PassCmd "~/bin/mutt_oauth2.py --client-id="08162f7c-0fd2-4200-a84a-f25a4db0b584" --client-secret="TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82" --encryption-pipe="cat" --decryption-pipe="cat" ~/.config/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/xoauth2-token"
+PassCmd "~/bin/mutt_oauth2.py --client-id="08162f7c-0fd2-4200-a84a-f25a4db0b584" --client-secret="TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82" --encryption-pipe="cat" --decryption-pipe="cat" $XDG_STATE_HOME/xoauth2-tokens/9rak.queensu.ca"
AuthMechs XOAUTH2
TLSType IMAPS
IMAPAccount CMU
Host imap.gmail.com
User rkavanag@alumni.cmu.edu
-Pass {{ .password.cmu }}
-AuthMechs PLAIN
+PassCmd "~/bin/mutt_oauth2.py --encryption-pipe=cat --decryption-pipe=cat $XDG_STATE_HOME/xoauth2-tokens/rkavanag.alumni.cmu.edu"
+AuthMechs XOAUTH2
TLSType IMAPS
IMAPAccount gmail
@@ -33,6 +26,13 @@ Pass {{ .password.gmail }}
AuthMechs PLAIN
TLSType IMAPS
+IMAPAccount ryan.a.kavanagh.gmail.com
+Host imap.gmail.com
+User ryan.a.kavanagh@gmail.com
+PassCmd "~/bin/mutt_oauth2.py --encryption-pipe=cat --decryption-pipe=cat $XDG_STATE_HOME/xoauth2-tokens/ryan.a.kavanagh.gmail.com"
+AuthMechs XOAUTH2
+TLSType IMAPS
+
IMAPAccount rak
Host hades.rak.ac
User rak
@@ -46,9 +46,6 @@ Account UQAM
IMAPStore queensu-remote
Account queensu
-IMAPStore mcgill-remote
-Account mcgill
-
IMAPStore cmu-remote
Account CMU
@@ -58,6 +55,9 @@ Account rak
IMAPStore gmail-remote
Account gmail
+IMAPStore ryan.a.kavanagh.gmail.com
+Account ryan.a.kavanagh.gmail.com
+
MaildirStore uqam-maildir
Subfolders Verbatim
Path ~/Maildir/UQAM/
@@ -78,22 +78,22 @@ Subfolders Verbatim
Path ~/Maildir/queensu/
Inbox ~/Maildir/queensu/INBOX
-MaildirStore mcgill-maildir
-Subfolders Verbatim
-Path ~/Maildir/mcgill/
-Inbox ~/Maildir/mcgill/INBOX
-
MaildirStore gmail-maildir
Subfolders Verbatim
Path ~/Maildir/gmail/
Inbox ~/Maildir/gmail/INBOX
+MaildirStore archive
+Subfolders Verbatim
+Path ~/Maildir/Archive/
+Inbox ~/Maildir/Archive/INBOX
+
Channel uqam-inbox
Far :uqam-remote:
Near :uqam-maildir:
Create Both
Patterns INBOX
-Expunge Near
+Expunge Both
Sync All
Channel uqam-others
@@ -110,16 +110,9 @@ Near :queensu-maildir:
Create Both
Patterns * !Calendar !Calendar/* !Contacts !"Conversation History" !"Deleted Items" !"Flux RSS" !Journal !Notes !Outbox
Expunge Both
+Remove Both
Sync All
-Channel mcgill
-Far :mcgill-remote:
-Near :mcgill-maildir:
-Create Near
-Patterns * !Calendar !Calendar/* !Contacts !"Conversation History" !"Deleted Items" !"Flux RSS" !Journal !Notes !Outbox
-Expunge Near
-Sync Pull
-
Channel cmu
Far :cmu-remote:
Near :cmu-maildir:
@@ -148,6 +141,7 @@ Channel rak-misc
Far :rak-remote:
Near :rak-maildir:
Create Both
+Remove Both
Expunge Near
Patterns * !Archive !Virtual !Virtual/* !INBOX !Lists !Lists/*
Sync All
@@ -185,10 +179,20 @@ Channel gmail-others
Far :gmail-remote:
Near :gmail-maildir:
Create Near
+Remove Both
Expunge Near
Pattern * !INBOX !"[Google Mail]/Sent Mail" !"[Google Mail]/Drafts" !"[Google Mail]/Bin" !"[Google Mail]/All Mail"
Sync Pull
+Channel archive-to-gmail
+Far :ryan.a.kavanagh.gmail.com:
+Near :archive:
+Create Both
+Remove Both
+Expunge Both
+Pattern * !"[Gmail]/All Mail" !"[Gmail]/Important" !"[Gmail]/Spam" !"[Gmail]/Starred" !"[Gmail]/Trash"
+Sync All
+
Group inboxes
Channel gmail-inbox
Channel rak-inbox