aboutsummaryrefslogtreecommitdiff
path: root/dot_mutt/accounts/9rak.queensu.ca
diff options
context:
space:
mode:
Diffstat (limited to 'dot_mutt/accounts/9rak.queensu.ca')
-rw-r--r--dot_mutt/accounts/9rak.queensu.ca/folders.rc5
-rw-r--r--dot_mutt/accounts/9rak.queensu.ca/format.rc5
-rw-r--r--dot_mutt/accounts/9rak.queensu.ca/main.rc12
-rw-r--r--dot_mutt/accounts/9rak.queensu.ca/private_read.rc.tmpl9
-rw-r--r--dot_mutt/accounts/9rak.queensu.ca/send.rc10
5 files changed, 41 insertions, 0 deletions
diff --git a/dot_mutt/accounts/9rak.queensu.ca/folders.rc b/dot_mutt/accounts/9rak.queensu.ca/folders.rc
new file mode 100644
index 0000000..2b552ff
--- /dev/null
+++ b/dot_mutt/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_mutt/accounts/9rak.queensu.ca/format.rc b/dot_mutt/accounts/9rak.queensu.ca/format.rc
new file mode 100644
index 0000000..4ab31f0
--- /dev/null
+++ b/dot_mutt/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_mutt/accounts/9rak.queensu.ca/main.rc b/dot_mutt/accounts/9rak.queensu.ca/main.rc
new file mode 100644
index 0000000..f7cd3e4
--- /dev/null
+++ b/dot_mutt/accounts/9rak.queensu.ca/main.rc
@@ -0,0 +1,12 @@
+# vim: syntax=muttrc
+
+cd ~/.mutt/accounts/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_mutt/accounts/9rak.queensu.ca/private_read.rc.tmpl b/dot_mutt/accounts/9rak.queensu.ca/private_read.rc.tmpl
new file mode 100644
index 0000000..f23cb60
--- /dev/null
+++ b/dot_mutt/accounts/9rak.queensu.ca/private_read.rc.tmpl
@@ -0,0 +1,9 @@
+# vim: syntax=muttrc
+
+set imap_authenticators = 'xoauth2'
+set imap_login = '9rak@queensu.ca'
+set imap_oauth_refresh_command = '~/bin/mutt_oauth2.py ~/.mutt/xoauth2-queensu.ca-token'
+set imap_passive = 'no'
+set imap_user = '9rak@queensu.ca'
+
+unset imap_pass
diff --git a/dot_mutt/accounts/9rak.queensu.ca/send.rc b/dot_mutt/accounts/9rak.queensu.ca/send.rc
new file mode 100644
index 0000000..4f8b673
--- /dev/null
+++ b/dot_mutt/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 ~/.mutt/xoauth2-queensu.ca-token'
+set smtp_url = 'smtp://9rak@queensu.ca@smtp.office365.com:587/'
+
+unset sendmail
+unset smtp_pass