aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2023-11-02 11:43:25 -0400
committerRyan Kavanagh <rak@rak.ac>2023-11-15 10:50:15 -0500
commit6b98a64fd0fe870dbf35b6e9191c7fd6399b14d6 (patch)
tree9cec3b0be997c47bbaac1306fb1db50f4fb6019c
parentMore files to backup (diff)
UQAM neomutt config
-rw-r--r--dot_mutt/accounts.rc3
-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
6 files changed, 47 insertions, 0 deletions
diff --git a/dot_mutt/accounts.rc b/dot_mutt/accounts.rc
index 1deb74b..81a4ce7 100644
--- a/dot_mutt/accounts.rc
+++ b/dot_mutt/accounts.rc
@@ -12,6 +12,9 @@ account-hook imaps://ryan.kavanagh@mail.mcgill.ca@outlook.office365.com \
account-hook imaps://9rak@queensu.ca@outlook.office365.com \
source ~/.mutt/accounts/9rak.queensu.ca/main.rc
+account-hook imaps://kavanagh.ryan@uqam.ca@outlook.office365.com \
+ source ~/.mutt/accounts/kavanagh.ryan.uqam.ca/main.rc
+
account-hook imaps://imap.rak.ac \
source ~/.mutt/accounts/rak.rak.ac/main.rc
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