From 925887ce8a40a07da92f5baecd29b229fe9c0f85 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Thu, 30 Nov 2023 10:35:12 -0500 Subject: Move neomutt config around --- dot_config/neomutt/accounts/9rak.queensu.ca/folders.rc | 5 +++++ dot_config/neomutt/accounts/9rak.queensu.ca/format.rc | 5 +++++ dot_config/neomutt/accounts/9rak.queensu.ca/main.rc | 12 ++++++++++++ .../neomutt/accounts/9rak.queensu.ca/private_read.rc.tmpl | 8 ++++++++ dot_config/neomutt/accounts/9rak.queensu.ca/send.rc | 10 ++++++++++ 5 files changed, 40 insertions(+) create mode 100644 dot_config/neomutt/accounts/9rak.queensu.ca/folders.rc create mode 100644 dot_config/neomutt/accounts/9rak.queensu.ca/format.rc create mode 100644 dot_config/neomutt/accounts/9rak.queensu.ca/main.rc create mode 100644 dot_config/neomutt/accounts/9rak.queensu.ca/private_read.rc.tmpl create mode 100644 dot_config/neomutt/accounts/9rak.queensu.ca/send.rc (limited to 'dot_config/neomutt/accounts/9rak.queensu.ca') 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 ' +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 -- cgit v1.2.3