From dfda84a44e0f00006e606e2641f6362de85989a3 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sat, 29 Oct 2022 11:47:56 -0400 Subject: Fix queensu mutt --- dot_mutt/accounts/9rak.queensu.ca/main.rc | 2 +- dot_mutt/accounts/9rak.queensu.ca/private_read.rc.tmpl | 5 ++--- dot_mutt/accounts/9rak.queensu.ca/send.rc | 2 +- 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 ' 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 -- cgit v1.2.3