diff options
author | Ryan Kavanagh <rak@rak.ac> | 2021-09-12 20:27:18 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2021-09-12 20:27:18 -0400 |
commit | 1984607a9bd1a714706831e96ca6564a67f145a3 (patch) | |
tree | 75654732d9d89bed17f8487c4673a3d10d58b6bb /.mutt/accounts.rc | |
parent | delete imapfilter (diff) |
Added @mcgill.ca account to neomutt
Diffstat (limited to '.mutt/accounts.rc')
-rw-r--r-- | .mutt/accounts.rc | 30 |
1 files changed, 29 insertions, 1 deletions
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 <ryan.kavanagh@mcgill.ca>';\ +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 <F6> '<enter-command>set folder="imaps://imap.rak.ac/"<enter>\ <enter-command>set sendmail="sendmail -oem -oi"<enter>\ <edit-from><kill-line>Ryan Kavanagh <rak@rak.ac><enter>' \ "Send mail from rak.ac" + +macro compose <F7> '<enter-command>set folder="imaps://ryan.kavanagh@mcgill.ca@outlook.office365.com"<enter>\ +<edit-fcc><kill-line><enter>\ +<enter-command>set sendmail="sendmail -oem -oi"<enter>\ +<edit-from><kill-line>Ryan Kavanagh <ryan.kavanagh@mcgill.ca><enter>' \ +"Send mail from McGill account" |