aboutsummaryrefslogtreecommitdiff
path: root/dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/send.rc
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2023-12-20 11:03:47 -0500
committerRyan Kavanagh <rak@rak.ac>2023-12-20 11:03:47 -0500
commitf5b3c563bdbe24796c645ed2845c857b7e9f77ac (patch)
tree0b1a516e0ee93e0339cd0034eb6374b64b5b1320 /dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/send.rc
parentOnly install ~/afs on Linux (diff)
parentSplit out some common shell config options (diff)
Merge remote-tracking branch 'rak-https/master'
Diffstat (limited to 'dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/send.rc')
-rw-r--r--dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/send.rc14
1 files changed, 14 insertions, 0 deletions
diff --git a/dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/send.rc b/dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/send.rc
new file mode 100644
index 0000000..ac1f134
--- /dev/null
+++ b/dot_config/neomutt/accounts/kavanagh.ryan.uqam.ca/send.rc
@@ -0,0 +1,14 @@
+# vim: syntax=muttrc
+
+# 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' `pwd`/xoauth2-token"
+set smtp_url = 'smtp://kavanagh.ryan@uqam.ca@smtp.office365.com:587/'
+
+set signature = "`pwd`/signature"
+
+unset sendmail
+unset smtp_pass