From 1de5f0d02a80597bf500d196f7e1df21a865c7a6 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 22 Apr 2020 15:10:59 -0400 Subject: update mail config to use sendmail --- .devscripts | 1 - .mutt/accounts.rc | 20 ++++++++++---------- .nailrc | 18 +++++++++--------- .tmux-mail.conf | 2 +- 4 files changed, 20 insertions(+), 21 deletions(-) delete mode 100644 .devscripts diff --git a/.devscripts b/.devscripts deleted file mode 100644 index b3387f6..0000000 --- a/.devscripts +++ /dev/null @@ -1 +0,0 @@ -BTS_SENDMAIL_COMMAND="MSMTP_PATH -t" diff --git a/.mutt/accounts.rc b/.mutt/accounts.rc index 03157f5..b1b2b6b 100644 --- a/.mutt/accounts.rc +++ b/.mutt/accounts.rc @@ -45,10 +45,10 @@ set pager_format = '-%Z-QUEENSU: %C/%m: %-20.20n %s';\ set compose_format = '-- QUEENSU: Compose [Approx. msg size: %l Atts: %a]%>-';\ set status_format = '-%r-QUEENSU: %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)---'" -account-hook imaps://imap.ryanak.ca \ +account-hook imaps://imap.rak.ac \ "set imap_user = 'rak';\ set imap_pass = 'RYANAKCA_PASS';\ -set folder = 'imaps://imap.ryanak.ca/';\ +set folder = 'imaps://imap.rak.ac/';\ set record = '=Sent';\ set copy = 'yes';\ set postponed = '=Drafts';\ @@ -56,7 +56,7 @@ set spoolfile = '=Virtual.INBOX';\ set mbox = '=RAK';\ unset smtp_url;\ unset smtp_pass;\ -set sendmail = 'MSMTP_PATH -a ryanakca';\ +set sendmail = '/usr/sbin/sendmail -oem -oi';\ set from = 'Ryan Kavanagh ';\ set pager_format = '-%Z-RAK.AC: %C/%m: %-20.20n %s';\ set compose_format = '-- RAK.AC: Compose [Approx. msg size: %l Atts: %a]%>-';\ @@ -130,21 +130,21 @@ macro compose 'set folder="imaps://ryanakca@gmail.com@i Ryan Kavanagh ' \ "Send mail from cs.queensu.ca" -macro compose 'set folder="imaps://ryanakca@gmail.com@imap.gmail.com"\ -\ -set sendmail="MSMTP_PATH"\ +macro compose 'set folder="imaps://imap.rak.ac/"\ +=Sent\ +set sendmail="/usr/sbin/sendmail -oem -oi"\ Ryan Kavanagh ' \ "Send mail from Debian account" -macro compose 'set folder="imaps://imap.ryanak.ca/"\ +macro compose 'set folder="imaps://imap.rak.ac/"\ =Sent\ -set sendmail="MSMTP_PATH -a ryanakca"\ +set sendmail="/usr/sbin/sendmail -oem -oi"\ Ryan Kavanagh ' \ "Send mail from ryanak.ca" -macro compose 'set folder="imaps://imap.ryanak.ca/"\ +macro compose 'set folder="imaps://imap.rak.ac/"\ =Sent\ -set sendmail="MSMTP_PATH -a rakac"\ +set sendmail="/usr/sbin/sendmail -oem -oi"\ Ryan Kavanagh ' \ "Send mail from rak.ac" diff --git a/.nailrc b/.nailrc index 52db93d..9d6126d 100644 --- a/.nailrc +++ b/.nailrc @@ -6,7 +6,7 @@ define clearset { account l { call clearset - set from="rak@ryanak.ca (Ryan Kavanagh)" + set from="rak@rak.ac (Ryan Kavanagh)" } account d { @@ -42,11 +42,11 @@ account q { account r { call clearset - set from="Ryan Kavanagh " - set folder=imaps://rak@imap.ryanak.ca/ - set imap-starttls-rak@imap.ryanak.ca - set password-rak@imap.ryanak.ca=RYANAKCA_PASS - set sendmail=HOMEDIR/bin/msmtp/msmtp-ryanakca + set from="Ryan Kavanagh " + set folder=imaps://rak@imap.rak.ac/ + set imap-starttls-rak@imap.rak.ac + set password-rak@imap.rak.ac=RYANAKCA_PASS + set sendmail=/usr/sbin/sendmail set MBOX=@Read set record=@Sent @@ -65,8 +65,8 @@ account c { source ~/.mailx-aliases.rc source ~/.mailrc -set password-rak@imap.ryanak.ca=RYANAKCA_PASS -set record=imaps://rak@imap.ryanak.ca/Sent +set password-rak@imap.rak.ac=RYANAKCA_PASS +set record=imaps://rak@imap.rak.ac/Sent # Don't display X-Brightmail-Tracker header cruft ignore "X-Brightmail-Tracker" @@ -107,7 +107,7 @@ set indentprefix="> " # Don't strip names/comments when replying set fullnames # My other addresses -set alternates="ryanakca@gmail.com,rak@debian.org,rak@ryanak.ca,rkavanag@andrew.cmu.edu,rkavanag@cs.cmu.edu,rkavanagh@cs.cmu.edu,ryan@cs.queensu.ca" +set alternates="ryanakca@gmail.com,rak@debian.org,rak@rak.ac,rak@ryanak.ca,rkavanag@andrew.cmu.edu,rkavanag@cs.cmu.edu,rkavanagh@cs.cmu.edu,ryan@cs.queensu.ca" # Give header when replying set quote diff --git a/.tmux-mail.conf b/.tmux-mail.conf index cb30a75..ddcbd9e 100644 --- a/.tmux-mail.conf +++ b/.tmux-mail.conf @@ -1,7 +1,7 @@ source-file ~/.tmux.conf new-session -s mail -d -n mutt 'neomutt -f imaps://rkavanag%40andrew.cmu.edu@imap.gmail.com' -split-window -c '~' 'neomutt -f imaps://imap.ryanak.ca' +split-window -c '~' 'neomutt -f imaps://imap.rak.ac' split-window -c '~' -h 'neomutt -f imaps://ryanakca@gmail.com@imap.gmail.com/' new-window -d -c '~' -n aether 'ssh aether.rak.ac' new-window -d -c '~' -n eos 'ssh eos.rak.ac' -- cgit v1.2.3