diff options
Diffstat (limited to '')
3 files changed, 9 insertions, 5 deletions
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 |