From 1984607a9bd1a714706831e96ca6564a67f145a3 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sun, 12 Sep 2021 20:27:18 -0400 Subject: Added @mcgill.ca account to neomutt --- .mutt/accounts.rc | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to '.mutt') diff --git a/.mutt/accounts.rc b/.mutt/accounts.rc index 4593a95..12be11d 100644 --- a/.mutt/accounts.rc +++ b/.mutt/accounts.rc @@ -19,7 +19,29 @@ set pager_format = '-%Z-GMAIL: %C/%m: %-20.20n %s';\ set compose_format = '-- GMAIL: Compose [Approx. msg size: %l Atts: %a]%>-';\ set status_format = '-%r-GMAIL: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---'" -account-hook imaps://outlook.office365.com \ +account-hook imaps://ryan.kavanagh@mcgill.ca@outlook.office365.com \ +"set imap_user = 'ryan.kavanagh@mcgill.ca';\ +set imap_login = 'ryan.kavanagh@mcgill.ca';\ +set imap_authenticators = 'xoauth2';\ +set imap_oauth_refresh_command = '~/bin/mutt_oauth2.py ~/.mutt/mcgill-token';\ +set smtp_url = 'smtp://ryan.kavanagh@mcgill.ca@smtp.office365.com:587/';\ +set smtp_authenticators = 'xoauth2';\ +set smtp_oauth_refresh_command = '~/bin/mutt_oauth2.py ~/.mutt/mcgill-token';\ +unset smtp_pass;\ +set folder = 'imaps://ryan.kavanagh@mcgill.ca@outlook.office365.com';\ +set record = '=Sent Items';\ +set copy = 'no';\ +set postponed = '=Drafts';\ +set spoolfile = '=Inbox';\ +set imap_passive = 'no';\ +set mbox = '=Archive';\ +set from = 'Ryan Kavanagh ';\ +source "~/.mutt/alias-mcgill.rc";\ +set pager_format = '-%Z-MCGILL: %C/%m: %-20.20n %s';\ +set compose_format = '-- MCGILL: Compose [Approx. msg size: %l Atts: %a]%>-';\ +set status_format = '-%r-MCGILL: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---'" + +account-hook imaps://9rak@queensu.ca@outlook.office365.com \ "set imap_user = '9rak@queensu.ca';\ set imap_pass = 'QUEENSU_PASS';\ set folder = 'imaps://outlook.office365.com';\ @@ -127,3 +149,9 @@ macro compose 'set folder="imaps://imap.rak.ac/"\ set sendmail="sendmail -oem -oi"\ Ryan Kavanagh ' \ "Send mail from rak.ac" + +macro compose 'set folder="imaps://ryan.kavanagh@mcgill.ca@outlook.office365.com"\ +\ +set sendmail="sendmail -oem -oi"\ +Ryan Kavanagh ' \ +"Send mail from McGill account" -- cgit v1.2.3