diff options
author | Ryan Kavanagh <rak@rak.ac> | 2023-11-30 10:35:12 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2023-11-30 10:52:57 -0500 |
commit | 925887ce8a40a07da92f5baecd29b229fe9c0f85 (patch) | |
tree | 818c2585e8dc495b3290b8cb69fdcaf6535265bc /dot_config/neomutt/accounts/9rak.queensu.ca | |
parent | Update sm to open uqam mail now (diff) |
Move neomutt config around
Diffstat (limited to 'dot_config/neomutt/accounts/9rak.queensu.ca')
5 files changed, 40 insertions, 0 deletions
diff --git a/dot_config/neomutt/accounts/9rak.queensu.ca/folders.rc b/dot_config/neomutt/accounts/9rak.queensu.ca/folders.rc new file mode 100644 index 0000000..2b552ff --- /dev/null +++ b/dot_config/neomutt/accounts/9rak.queensu.ca/folders.rc @@ -0,0 +1,5 @@ +# vim: syntax=muttrc + +set mbox = '+Read' +set postponed = '+Drafts' +set record = '+Sent Items' diff --git a/dot_config/neomutt/accounts/9rak.queensu.ca/format.rc b/dot_config/neomutt/accounts/9rak.queensu.ca/format.rc new file mode 100644 index 0000000..4ab31f0 --- /dev/null +++ b/dot_config/neomutt/accounts/9rak.queensu.ca/format.rc @@ -0,0 +1,5 @@ +# vim: syntax=muttrc + +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)---' diff --git a/dot_config/neomutt/accounts/9rak.queensu.ca/main.rc b/dot_config/neomutt/accounts/9rak.queensu.ca/main.rc new file mode 100644 index 0000000..49eab83 --- /dev/null +++ b/dot_config/neomutt/accounts/9rak.queensu.ca/main.rc @@ -0,0 +1,12 @@ +# vim: syntax=muttrc + +cd $XDG_CONFIG_HOME/neomutt/accounts/9rak.queensu.ca + +set folder = 'imaps://9rak@queensu.ca@outlook.office365.com' + +source folders.rc +source read.rc +source send.rc +source format.rc + +cd diff --git a/dot_config/neomutt/accounts/9rak.queensu.ca/private_read.rc.tmpl b/dot_config/neomutt/accounts/9rak.queensu.ca/private_read.rc.tmpl new file mode 100644 index 0000000..407e643 --- /dev/null +++ b/dot_config/neomutt/accounts/9rak.queensu.ca/private_read.rc.tmpl @@ -0,0 +1,8 @@ +# vim: syntax=neomuttrc + +set imap_authenticators = 'xoauth2' +set imap_oauth_refresh_command = '~/bin/mutt_oauth2.py --client-id="08162f7c-0fd2-4200-a84a-f25a4db0b584" --client-secret="TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82" --encryption-pipe="cat" --decryption-pipe="cat" $XDG_CONFIG_HOME/neomutt/accounts/9rak.queensu.ca/xoauth2-token' +set imap_passive = 'no' +set imap_user = '9rak@queensu.ca' + +unset imap_pass diff --git a/dot_config/neomutt/accounts/9rak.queensu.ca/send.rc b/dot_config/neomutt/accounts/9rak.queensu.ca/send.rc new file mode 100644 index 0000000..8327f7e --- /dev/null +++ b/dot_config/neomutt/accounts/9rak.queensu.ca/send.rc @@ -0,0 +1,10 @@ +# vim: syntax=muttrc + +set copy = yes +set from = 'Ryan Kavanagh <ryan.kavanagh@queensu.ca>' +set smtp_authenticators = 'xoauth2' +set smtp_oauth_refresh_command = '~/bin/mutt_oauth2.py --client-id="08162f7c-0fd2-4200-a84a-f25a4db0b584" --client-secret="TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82" --encryption-pipe="cat" --decryption-pipe="cat" $XDG_CONFIG_HOME/neomutt/accounts/9rak.queensu.ca/xoauth2-token' +set smtp_url = 'smtp://9rak@queensu.ca@smtp.office365.com:587/' + +unset sendmail +unset smtp_pass |