diff options
author | Ryan Kavanagh <rak@rak.ac> | 2024-01-05 17:09:58 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2024-01-05 17:09:58 -0500 |
commit | 266e6928460281f573b7811c893742ad6ed5437b (patch) | |
tree | fd4671f21591b60050333c78da74cd78f3531197 /dot_config/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/send.rc | |
parent | [sway] disable swayidle when dspdfviewer is running; set random bg (diff) |
Update mcgill email config
Diffstat (limited to '')
-rw-r--r-- | dot_config/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/send.rc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dot_config/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/send.rc b/dot_config/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/send.rc index fc5b2da..146b28a 100644 --- a/dot_config/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/send.rc +++ b/dot_config/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/send.rc @@ -1,8 +1,12 @@ # vim: syntax=muttrc -set copy = yes +# Set copy to no so long as you use McGill's smtp, +# which automatically saves messages to $record +set copy = no set from = 'Ryan Kavanagh <rkavanagh@cs.mcgill.ca>' -set sendmail = 'sendmail -oem -oi' +set smtp_authenticators = 'xoauth2' +set smtp_oauth_refresh_command = "~/bin/mutt_oauth2.py --encryption-pipe='cat' --decryption-pipe='cat' `pwd`/xoauth2-token" +set smtp_url = 'smtp://ryan.kavanagh@mail.mcgill.ca@smtp.office365.com:587/' +unset sendmail unset smtp_pass -unset smtp_url |