aboutsummaryrefslogtreecommitdiff
path: root/dot_config/neomutt
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/neomutt')
-rw-r--r--dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/read.rc2
-rw-r--r--dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/send.rc8
-rw-r--r--dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/signature4
3 files changed, 11 insertions, 3 deletions
diff --git a/dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/read.rc b/dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/read.rc
index 0a5dab5..fd74dfa 100644
--- a/dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/read.rc
+++ b/dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/read.rc
@@ -1,7 +1,7 @@
# vim: syntax=neomuttrc
set imap_authenticators = 'xoauth2'
-set imap_oauth_refresh_command = '~/bin/mutt_oauth2.py --encryption-pipe="cat" --decryption-pipe="cat" $XDG_CONFIG_HOME/neomutt/accounts/kavanagh.ryan.uqam.ca/xoauth2-token'
+set imap_oauth_refresh_command = "~/bin/mutt_oauth2.py --encryption-pipe='cat' --decryption-pipe='cat' `pwd`/xoauth2-token"
set imap_passive = 'no'
set imap_user = 'kavanagh.ryan@uqam.ca'
diff --git a/dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/send.rc b/dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/send.rc
index e89632e..2dbc799 100644
--- a/dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/send.rc
+++ b/dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/send.rc
@@ -1,14 +1,18 @@
# vim: syntax=muttrc
-set copy = yes
+# Set copy to no so long as you use UQAM's smtp,
+# which automatically saves messages to $record
+set copy = no
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" $XDG_CONFIG_HOME/neomutt/accounts/kavanagh.ryan.uqam.ca/xoauth2-token'
+set smtp_oauth_refresh_command = "~/bin/mutt_oauth2.py --encryption-pipe='cat' --decryption-pipe='cat' `pwd`/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"
+set signature = "`pwd`/signature"
+
unset sendmail
unset smtp_pass
diff --git a/dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/signature b/dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/signature
new file mode 100644
index 0000000..90723cd
--- /dev/null
+++ b/dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/signature
@@ -0,0 +1,4 @@
+Ryan Kavanagh
+Professeur régulier au Département d'informatique
+Université du Québec à Montréal (UQAM)
+PK-4330