aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.msmtprc13
-rw-r--r--.nailrc9
-rwxr-xr-xMakefile2
3 files changed, 22 insertions, 2 deletions
diff --git a/.msmtprc b/.msmtprc
index 1ace606..e7bd7c6 100644
--- a/.msmtprc
+++ b/.msmtprc
@@ -75,6 +75,17 @@ host smtp.srv.cs.cmu.edu
tls on
tls_starttls on
tls_trust_file SSL_CERTS
-autho on
+auth on
user rkavanag
password CMUSCS_PASS
+
+account cmu
+from rkavanag@andrew.cmu.edu
+host smtp.gmail.com
+port 587
+tls on
+tls_starttls on
+tls_trust_file SSL_CERTS
+auth on
+user rkavanag@andrew.cmu.edu
+password CMU_PASS
diff --git a/.nailrc b/.nailrc
index 0cd935e..e98fb35 100644
--- a/.nailrc
+++ b/.nailrc
@@ -61,6 +61,15 @@ account s {
set record=@INBOX.Sent
}
+account c {
+ call clearset
+ set folder=imaps://rkavanag@andrew.cmu.edu@imap.gmail.com/
+ set password-rkavanag@andrew.cmu.edu@imap.gmail.com=CMU_PASS
+ set sendmail=HOMEDIR/bin/msmtp/msmtp-cmu
+ set from="Ryan Kavanagh <rkavanag@andrew.cmu.edu>"
+
+ set MBOX=@Read
+}
source ~/.mailx-aliases.rc
source ~/.mailrc
diff --git a/Makefile b/Makefile
index 5e7a59e..d0ec71f 100755
--- a/Makefile
+++ b/Makefile
@@ -102,7 +102,7 @@ VARS_.mutt/gpg.rc = GPG_BINARY PGPEWRAP_BINARY
VARS_.mutt/score.rc = MUTT_10_SCORE MUTT_20_SCORE
VARS_.mutt/ssl.rc = SSL_CERTS
VARS_.muttrc = MSMTP_PATH
-VARS_.nailrc = GMAIL_mailx_PASS RYANAKCA_PASS CMUSCS_PASS HOMEDIR
+VARS_.nailrc = GMAIL_mailx_PASS RYANAKCA_PASS CMUSCS_PASS CMU_PASS HOMEDIR
VARS_.netrc = LOCAL_PASS GMAIL_PASS
VARS_.offlineimaprc = $(MAIL_PASS) SSL_CERTS
VARS_.screenrc = ZSH_PATH SCREEN_HOST_COLOUR