aboutsummaryrefslogtreecommitdiff
path: root/dot_mutt/accounts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_mutt/accounts/kavanagh.ryan.uqam.ca/folders.rc5
-rw-r--r--dot_mutt/accounts/kavanagh.ryan.uqam.ca/format.rc5
-rw-r--r--dot_mutt/accounts/kavanagh.ryan.uqam.ca/main.rc12
-rw-r--r--dot_mutt/accounts/kavanagh.ryan.uqam.ca/read.rc8
-rw-r--r--dot_mutt/accounts/kavanagh.ryan.uqam.ca/send.rc14
5 files changed, 44 insertions, 0 deletions
diff --git a/dot_mutt/accounts/kavanagh.ryan.uqam.ca/folders.rc b/dot_mutt/accounts/kavanagh.ryan.uqam.ca/folders.rc
new file mode 100644
index 0000000..2b552ff
--- /dev/null
+++ b/dot_mutt/accounts/kavanagh.ryan.uqam.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/kavanagh.ryan.uqam.ca/format.rc b/dot_mutt/accounts/kavanagh.ryan.uqam.ca/format.rc
new file mode 100644
index 0000000..5780c9a
--- /dev/null
+++ b/dot_mutt/accounts/kavanagh.ryan.uqam.ca/format.rc
@@ -0,0 +1,5 @@
+# vim: syntax=muttrc
+
+set pager_format = '-%Z-UQAM: %C/%m: %-20.20n %s%* -- (%P)'
+set compose_format = '-- UQAM: Compose [Approx. msg size: %l Atts: %a]%>-'
+set status_format = '-%r-UQAM: %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/kavanagh.ryan.uqam.ca/main.rc b/dot_mutt/accounts/kavanagh.ryan.uqam.ca/main.rc
new file mode 100644
index 0000000..b1a60e5
--- /dev/null
+++ b/dot_mutt/accounts/kavanagh.ryan.uqam.ca/main.rc
@@ -0,0 +1,12 @@
+# vim: syntax=muttrc
+
+cd ~/.mutt/accounts/kavanagh.ryan.uqam.ca
+
+set folder = 'imaps://kavanagh.ryan@uqam.ca@outlook.office365.com'
+
+source folders.rc
+source read.rc
+source send.rc
+source format.rc
+
+cd
diff --git a/dot_mutt/accounts/kavanagh.ryan.uqam.ca/read.rc b/dot_mutt/accounts/kavanagh.ryan.uqam.ca/read.rc
new file mode 100644
index 0000000..df5409d
--- /dev/null
+++ b/dot_mutt/accounts/kavanagh.ryan.uqam.ca/read.rc
@@ -0,0 +1,8 @@
+# vim: syntax=neomuttrc
+
+set imap_authenticators = 'xoauth2'
+set imap_oauth_refresh_command = '~/bin/mutt_oauth2.py --encryption-pipe="cat" --decryption-pipe="cat" ~/.mutt/accounts/kavanagh.ryan.uqam.ca/xoauth2-token'
+set imap_passive = 'no'
+set imap_user = 'kavanagh.ryan@uqam.ca'
+
+unset imap_pass
diff --git a/dot_mutt/accounts/kavanagh.ryan.uqam.ca/send.rc b/dot_mutt/accounts/kavanagh.ryan.uqam.ca/send.rc
new file mode 100644
index 0000000..def78d5
--- /dev/null
+++ b/dot_mutt/accounts/kavanagh.ryan.uqam.ca/send.rc
@@ -0,0 +1,14 @@
+# vim: syntax=muttrc
+
+set copy = yes
+set from = 'Ryan Kavanagh <kavanagh.ryan@uqam.ca>'
+set smtp_authenticators = 'xoauth2'
+set smtp_oauth_refresh_command = '~/bin/mutt_oauth2.py --encryption-pipe="cat" --decryption-pipe="cat" ~/.mutt/accounts/kavanagh.ryan.uqam.ca/xoauth2-token'
+set smtp_url = 'smtp://kavanagh.ryan@uqam.ca@smtp.office365.com:587/'
+
+set attribution = "Le %d, %n a écrit:"
+set attribution_locale = "fr_CA.utf8"
+set date_format = "%a %d %b %Y à %I:%M:%S%p %Z"
+
+unset sendmail
+unset smtp_pass