aboutsummaryrefslogtreecommitdiff
path: root/dot_config/neomutt/accounts/9rak.queensu.ca
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/neomutt/accounts/9rak.queensu.ca')
-rw-r--r--dot_config/neomutt/accounts/9rak.queensu.ca/folders.rc5
-rw-r--r--dot_config/neomutt/accounts/9rak.queensu.ca/format.rc5
-rw-r--r--dot_config/neomutt/accounts/9rak.queensu.ca/main.rc12
-rw-r--r--dot_config/neomutt/accounts/9rak.queensu.ca/private_read.rc.tmpl8
-rw-r--r--dot_config/neomutt/accounts/9rak.queensu.ca/send.rc10
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