aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2022-10-29 11:47:56 -0400
committerRyan Kavanagh <rak@rak.ac>2022-10-29 11:47:56 -0400
commitdfda84a44e0f00006e606e2641f6362de85989a3 (patch)
treefabcb350d87ddc21db6a1b8f3b83c8110579fa9b
parentupdate gibuild aliases (diff)
Fix queensu mutt
-rw-r--r--dot_mutt/accounts/9rak.queensu.ca/main.rc2
-rw-r--r--dot_mutt/accounts/9rak.queensu.ca/private_read.rc.tmpl5
-rw-r--r--dot_mutt/accounts/9rak.queensu.ca/send.rc2
3 files changed, 4 insertions, 5 deletions
diff --git a/dot_mutt/accounts/9rak.queensu.ca/main.rc b/dot_mutt/accounts/9rak.queensu.ca/main.rc
index f7cd3e4..0e81120 100644
--- a/dot_mutt/accounts/9rak.queensu.ca/main.rc
+++ b/dot_mutt/accounts/9rak.queensu.ca/main.rc
@@ -1,6 +1,6 @@
# vim: syntax=muttrc
-cd ~/.mutt/accounts/queensu.ca
+cd ~/.mutt/accounts/9rak.queensu.ca
set folder = 'imaps://9rak@queensu.ca@outlook.office365.com'
diff --git a/dot_mutt/accounts/9rak.queensu.ca/private_read.rc.tmpl b/dot_mutt/accounts/9rak.queensu.ca/private_read.rc.tmpl
index f23cb60..cc734ff 100644
--- a/dot_mutt/accounts/9rak.queensu.ca/private_read.rc.tmpl
+++ b/dot_mutt/accounts/9rak.queensu.ca/private_read.rc.tmpl
@@ -1,8 +1,7 @@
-# vim: syntax=muttrc
+# vim: syntax=neomuttrc
set imap_authenticators = 'xoauth2'
-set imap_login = '9rak@queensu.ca'
-set imap_oauth_refresh_command = '~/bin/mutt_oauth2.py ~/.mutt/xoauth2-queensu.ca-token'
+set imap_oauth_refresh_command = '~/bin/mutt_oauth2.py --client-id="08162f7c-0fd2-4200-a84a-f25a4db0b584" --client-secret="TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82" --encryption-pipe="cat" --decryption-pipe="cat" ~/.mutt/accounts/9rak.queensu.ca/xoauth2-token'
set imap_passive = 'no'
set imap_user = '9rak@queensu.ca'
diff --git a/dot_mutt/accounts/9rak.queensu.ca/send.rc b/dot_mutt/accounts/9rak.queensu.ca/send.rc
index 4f8b673..af4f9c5 100644
--- a/dot_mutt/accounts/9rak.queensu.ca/send.rc
+++ b/dot_mutt/accounts/9rak.queensu.ca/send.rc
@@ -3,7 +3,7 @@
set copy = yes
set from = 'Ryan Kavanagh <ryan.kavanagh@queensu.ca>'
set smtp_authenticators = 'xoauth2'
-set smtp_oauth_refresh_command = '~/bin/mutt_oauth2.py ~/.mutt/xoauth2-queensu.ca-token'
+set smtp_oauth_refresh_command = '~/bin/mutt_oauth2.py --client-id="08162f7c-0fd2-4200-a84a-f25a4db0b584" --client-secret="TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82" --encryption-pipe="cat" --decryption-pipe="cat" ~/.mutt/accounts/9rak.queensu.ca/xoauth2-token'
set smtp_url = 'smtp://9rak@queensu.ca@smtp.office365.com:587/'
unset sendmail