From 9dbb7dcd96f81b5abc7c41088cfc9a2052f47f65 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 28 Jun 2022 14:20:18 -0400 Subject: accounts.rc --- .../private_account.rc.tmpl | 225 ++------------------- 1 file changed, 22 insertions(+), 203 deletions(-) (limited to 'dot_mutt/accounts/ryan.kavanagh.mcgill.ca') diff --git a/dot_mutt/accounts/ryan.kavanagh.mcgill.ca/private_account.rc.tmpl b/dot_mutt/accounts/ryan.kavanagh.mcgill.ca/private_account.rc.tmpl index d3fe291..cc70e66 100644 --- a/dot_mutt/accounts/ryan.kavanagh.mcgill.ca/private_account.rc.tmpl +++ b/dot_mutt/accounts/ryan.kavanagh.mcgill.ca/private_account.rc.tmpl @@ -1,205 +1,24 @@ # vim: syntax=muttrc -account-hook imaps://ryanakca@gmail.com@imap.gmail.com \ -"set imap_user = 'ryanakca@gmail.com';\ -set imap_pass = '{{ .password.gmail }}';\ -set imap_passive = 'no';\ -set folder = 'imaps://ryanakca@gmail.com@imap.gmail.com';\ -set postponed = '=[Google Mail]/Drafts';\ -set spoolfile = '=INBOX';\ -set from = 'Ryan Kavanagh ';\ -set sendmail = 'sendmail -oem -oi';\ -set record = '=[Google Mail]/Sent Mail';\ -set copy = 'no';\ -unset smtp_url;\ -unset smtp_pass;\ -unset mbox;\ -source "~/.mutt/savehooks.rc";\ -set pager_format = '-%Z-GMAIL: %C/%m: %-20.20n %s%* -- (%P)';\ -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://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/xoauth2-mcgill.ca-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/xoauth2-mcgill.ca-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.CA: %C/%m: %-20.20n %s%* -- (%P)';\ -set compose_format = '-- MCGILL.CA: Compose [Approx. msg size: %l Atts: %a]%>-';\ -set status_format = '-%r-MCGILL.CA: %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://ryan.kavanagh@mail.mcgill.ca@outlook.office365.com \ -"set imap_user = 'ryan.kavanagh@mail.mcgill.ca';\ -set imap_login = 'ryan.kavanagh@mail.mcgill.ca';\ -set imap_authenticators = 'xoauth2';\ -set imap_oauth_refresh_command = '~/bin/mutt_oauth2.py ~/.mutt/xoauth2-mail.mcgill.ca-token';\ -set smtp_url = 'smtp://ryan.kavanagh@mail.mcgill.ca@smtp.office365.com:587/';\ -set smtp_authenticators = 'xoauth2';\ -set smtp_oauth_refresh_command = '~/bin/mutt_oauth2.py ~/.mutt/xoauth2-mail.mcgill.ca-token';\ -unset smtp_pass;\ -set folder = 'imaps://ryan.kavanagh@mail.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-MAIL.MCGILL.CA: %C/%m: %-20.20n %s%* -- (%P)';\ -set compose_format = '-- MAIL.MCGILL.CA: Compose [Approx. msg size: %l Atts: %a]%>-';\ -set status_format = '-%r-MAIL.MCGILL.CA: %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_login = '9rak@queensu.ca';\ -unset imap_pass;\ -set imap_authenticators = 'xoauth2';\ -set imap_oauth_refresh_command = '~/bin/mutt_oauth2.py ~/.mutt/xoauth2-queensu.ca-token';\ -set smtp_url = 'smtp://9rak@queensu.ca@smtp.office365.com:587/';\ -set smtp_authenticators = 'xoauth2';\ -set smtp_oauth_refresh_command = '~/bin/mutt_oauth2.py ~/.mutt/xoauth2-queensu.ca-token';\ -unset smtp_pass;\ -set folder = 'imaps://9rak@queensu.ca@outlook.office365.com';\ -set record = '=Sent Items';\ -set copy = 'yes';\ -set postponed = '=Drafts';\ -set spoolfile = '=Inbox';\ -set imap_passive = 'no';\ -set mbox = '=Read';\ -unset smtp_url;\ -unset smtp_pass;\ -unset sendmail;\ -set from = 'Ryan Kavanagh ';\ -set pager_format = '-%Z-QUEENSU: %C/%m: %-20.20n %s%* -- (%P)';\ -set compose_format = '-- QUEENSU: Compose [Approx. msg size: %l Atts: %a]%>-';\ -set status_format = '-%r-QUEENSU: %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://imap.rak.ac \ -"set imap_user = 'rak';\ -set imap_pass = '{{ .password.rakac }}';\ -set imap_delim_chars = '/';\ -set folder = 'imaps://imap.rak.ac/';\ -set record = '=Sent';\ -set copy = 'yes';\ -set postponed = '=Drafts';\ -set spoolfile = '=Virtual.INBOX';\ -set mbox = '=RAK';\ -unset smtp_url;\ -unset smtp_pass;\ -set sendmail = 'sendmail -oem -oi';\ -set from = 'Ryan Kavanagh ';\ -set pager_format = '-%Z-RAK.AC: %C/%m: %-20.20n %s%* -- (%P)';\ -set compose_format = '-- RAK.AC: Compose [Approx. msg size: %l Atts: %a]%>-';\ -set status_format = '-%r-RAK.AC: %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://mail.cs.mcgill.ca \ -"set imap_user = 'ryank';\ -set imap_pass = '{{ .password.socs }}';\ -set imap_delim_chars = '.';\ -set folder = 'imaps://mail.cs.mcgill.ca/';\ -set record = '+INBOX.Sent';\ -set copy = 'yes';\ -set postponed = '+INBOX.Drafts';\ -set spoolfile = '+';\ -set mbox = '+INBOX.Read';\ -unset smtp_url;\ -unset smtp_pass;\ -set sendmail = 'sendmail -oem -oi';\ -set from = 'Ryan Kavanagh ';\ -source "~/.mutt/alias-mcgill.rc";\ -set pager_format = '-%Z-CS.MCGILL.CA: %C/%m: %-20.20n %s%* -- (%P)';\ -set compose_format = '-- CS.MCGILL.CA: Compose [Approx. msg size: %l Atts: %a]%>-';\ -set status_format = '-%r-CS.MCGILL.CA: %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)---'" - -# Sources cmu aliases to override any personal variants already loaded in -# ~/.muttrc -account-hook imaps://rkavanag@alumni.cmu.edu@imap.gmail.com \ -"set imap_user = 'rkavanag@alumni.cmu.edu';\ -set imap_pass = '{{ .password.cmu }}';\ -set imap_passive = 'no';\ -set imap_keepalive = 60;\ -set folder = 'imaps://rkavanag@alumni.cmu.edu@imap.gmail.com';\ -set spoolfile = '=INBOX';\ -set sendmail='sendmail -oem -oi';\ -set from = 'Ryan Kavanagh ';\ -set mbox = '=Read';\ -set record = '=[Gmail]/Sent Mail';\ -set copy = 'no';\ -unset smtp_url;\ -unset smtp_pass;\ -source "~/.mutt/alias-cmu.rc";\ -set pager_format = '-%Z-CMU: %C/%m: %-20.20n %s%* -- (%P)';\ -set compose_format = '-- CMU: Compose [Approx. msg size: %l Atts: %a]%>-';\ -set status_format = '-%r-CMU: %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)---'" - -macro compose 'set folder="imaps://ryanakca@gmail.com@imap.gmail.com"\ -\ -set sendmail="sendmail -oem -oi"\ -Ryan Kavanagh ' \ -"Send mail from Ubuntu account" - -macro compose 'set folder="imaps://ryanakca@gmail.com@imap.gmail.com"\ -\ -set sendmail="sendmail -oem -oi"\ -Ryan Kavanagh ' \ -"Send mail from Kubuntu account" - -macro compose 'set folder="imaps://rkavanag@alumni.cmu.edu@imap.gmail.com"\ -\ -set sendmail="sendmail -oem -oi"\ -Ryan Kavanagh ' \ -"Send mail from CMU Alumni account" - -macro compose 'set folder="imaps://rkavanag@alumni.cmu.edu@imap.gmail.com"\ -\ -set sendmail="sendmail -oem -oi"\ -Ryan Kavanagh ' \ -"Send mail from CMU SCS account" - -macro compose 'set folder="imaps://outlook.office365.com"\ -=Sent Items\ -Ryan Kavanagh ' \ -"Send mail from QueensU" - -macro compose 'set folder="imaps://ryanakca@gmail.com@imap.gmail.com"\ -\ -set sendmail="sendmail -oem -oi"\ -Ryan Kavanagh ' \ -"Send mail from cs.queensu.ca" - -macro compose 'set folder="imaps://imap.rak.ac/"\ -=Sent\ -set sendmail="sendmail -oem -oi"\ -Ryan Kavanagh ' \ -"Send mail from Debian account" - -macro compose 'set folder="imaps://imap.rak.ac/"\ -=Sent\ -set sendmail="sendmail -oem -oi"\ -Ryan Kavanagh ' \ -"Send mail from rak.ac" - -macro compose 'set folder="imaps://mail.cs.mcgill.ca/"\ -=INBOX.Sent\ -set sendmail="sendmail -oem -oi"\ -Ryan Kavanagh ' \ -"Send mail from McGill SOCS account" - -macro compose 'set folder="imaps://ryan.kavanagh@mcgill.ca@outlook.office365.com"\ -\ -Ryan Kavanagh ' \ -"Send mail from McGill Staff account" +set imap_authenticators = 'xoauth2' +set imap_login = 'ryan.kavanagh@mcgill.ca' +set imap_oauth_refresh_command = '~/bin/mutt_oauth2.py ~/.mutt/xoauth2-mcgill.ca-token' +set imap_passive = 'no' +set imap_user = 'ryan.kavanagh@mcgill.ca' + +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/xoauth2-mcgill.ca-token' +unset smtp_pass +unset sendmail +set from = 'Ryan Kavanagh ' + +set folder = 'imaps://ryan.kavanagh@mcgill.ca@outlook.office365.com' +set record = '=Sent Items' +set copy = 'no' +set postponed = '=Drafts' +set mbox = '=Archive' + +set pager_format = '-%Z-MCGILL.CA: %C/%m: %-20.20n %s%* -- (%P)' +set compose_format = '-- MCGILL.CA: Compose [Approx. msg size: %l Atts: %a]%>-' +set status_format = '-%r-MCGILL.CA: %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)---' -- cgit v1.2.3