diff options
-rw-r--r-- | .msmtprc | 39 | ||||
-rwxr-xr-x | dm | 8 |
2 files changed, 46 insertions, 1 deletions
diff --git a/.msmtprc b/.msmtprc new file mode 100644 index 0000000..64a38c7 --- /dev/null +++ b/.msmtprc @@ -0,0 +1,39 @@ +account default +host smtp.gmail.com +port 587 +from ryanakca@kubuntu.org +tls on +tls_starttls on +tls_trust_file /etc/ssl/certs/ca-certificates.crt +tls_min_dh_prime_bits 1024 +auth on +user ryanakca@gmail.com +password GMAIL_PASS +logfile ~/.msmtp.log + +account queensu +host mail.queensu.ca +port 465 +tls on +tls_starttls on +tls_trust_file /etc/ssl/certs/ca-certificates.crt +tls_certcheck on +auth on +user 9rak +password QUEENSU_PASS +logfile ~/.msmtp.log + +account ubuntu +host smtp.gmail.com +port 587 +from ryanakca@ubuntu.com +tls on +tls_starttls on +tls_trust_file /etc/ssl/certs/ca-certificates.crt +tls_min_dh_prime_bits 1024 +auth on +user ryanakca@gmail.com +password GMAIL_PASS +logfile ~/.msmtp.log + + @@ -5,6 +5,7 @@ SUBSTS_FILE=SUBSTS.local # information LOCAL_FILES = \ .imapfilter/config.lua \ + .msmtprc \ .mutt/accounts.rc \ .netrc \ .offlineimaprc \ @@ -74,10 +75,15 @@ build/.imapfilter/config.lua: .imapfilter/config.lua $(SUBSTS_FILE) sed -e 's/LOCAL_PASS/$(LOCAL_PASS)/g' \ -e 's/PM_EMAIL/$(PM_EMAIL)/g' $< > $@ -build/.netrc: .netrc $(SUBSTS_FILES) +build/.netrc: .netrc $(SUBSTS_FILE) [ -d build ] || mkdir build sed -e 's/LOCAL_PASS/$(LOCAL_PASS)/g' $< > $@ +build/.msmtprc: .msmtprc $(SUBSTS_FILE) + [ -d $(dir $@) ] || mkdir $(dir $@) + sed -e 's/QUEENSU_PASS/$(QUEENSU_PASS)/g' \ + -e 's/GMAIL_PASS/$(GMAIL_PASS)/g' $< > $@ + build/.mutt/accounts.rc: .mutt/accounts.rc $(SUBSTS_FILE) [ -d build/.mutt ] || mkdir -p build/.mutt sed -e 's/LOCAL_PASS/$(LOCAL_PASS)/g' \ |