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 | |
parent | [sway] disable swayidle when dspdfviewer is running; set random bg (diff) |
Update mcgill email config
Diffstat (limited to 'dot_config')
4 files changed, 9 insertions, 8 deletions
diff --git a/dot_config/neomutt/accounts.rc b/dot_config/neomutt/accounts.rc index 6fdb111..9bf48b7 100644 --- a/dot_config/neomutt/accounts.rc +++ b/dot_config/neomutt/accounts.rc @@ -3,9 +3,6 @@ account-hook imaps://ryanakca@gmail.com@imap.gmail.com \ source $XDG_CONFIG_HOME/neomutt/accounts/ryanakca.gmail.com/main.rc -account-hook imaps://ryan.kavanagh@mcgill.ca@outlook.office365.com \ - source $XDG_CONFIG_HOME/neomutt/accounts/ryan.kavanagh.mcgill.ca/main.rc - account-hook imaps://ryan.kavanagh@mail.mcgill.ca@outlook.office365.com \ source $XDG_CONFIG_HOME/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/main.rc diff --git a/dot_config/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/main.rc b/dot_config/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/main.rc index f3859a3..23b81f9 100644 --- a/dot_config/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/main.rc +++ b/dot_config/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/main.rc @@ -1,6 +1,6 @@ # vim: syntax=muttrc -cd $XDG_CONFIG_HOME/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/ +cd $XDG_CONFIG_HOME/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca set folder = 'imaps://ryan.kavanagh@mail.mcgill.ca@outlook.office365.com/' diff --git a/dot_config/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/read.rc b/dot_config/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/read.rc index 52c1101..055e807 100644 --- a/dot_config/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/read.rc +++ b/dot_config/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/read.rc @@ -1,7 +1,7 @@ # vim: syntax=neomuttrc set imap_authenticators = 'xoauth2' -set imap_oauth_refresh_command = '~/bin/mutt_oauth2.py --encryption-pipe="cat" --decryption-pipe="cat" $XDG_CONFIG_HOME/neomutt/accounts/ryan.kavanagh.mail.mcgill.ca/xoauth2-token' +set imap_oauth_refresh_command = "~/bin/mutt_oauth2.py --encryption-pipe='cat' --decryption-pipe='cat' `pwd`/xoauth2-token" set imap_passive = 'no' set imap_user = 'ryan.kavanagh@mail.mcgill.ca' 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 |