aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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