From 1980ded87697b2e1f9f0a201d6d9dfd29ff59ce6 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 20 Dec 2023 10:41:40 -0500 Subject: Simplify directory handling neomutt uqam --- dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/read.rc | 2 +- dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/send.rc | 8 ++++++-- dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/signature | 4 ++++ 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/signature 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 ' 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 -- cgit v1.2.3