aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2012-01-04 21:28:33 -0500
committerRyan Kavanagh <rak@debian.org>2012-01-04 21:28:33 -0500
commit754f27872f2789e5ac08d02034ee55f96dcc0b92 (patch)
tree760dcc6183e996ed6ff0e53c8f5729c6baaec5b2
parentSent mail from ryan@cs.queensu.ca too (diff)
Set local host name for msmtp
-rw-r--r--.msmtprc9
-rw-r--r--SUBSTS2
-rwxr-xr-xdm2
3 files changed, 7 insertions, 6 deletions
diff --git a/.msmtprc b/.msmtprc
index 3a67171..9a29ef0 100644
--- a/.msmtprc
+++ b/.msmtprc
@@ -1,3 +1,7 @@
+defaults
+logfile ~/.msmtp.log
+domain LOCALHOST
+
account default
host smtp.gmail.com
port 587
@@ -9,7 +13,6 @@ tls_min_dh_prime_bits 1024
auth on
user ryanakca@gmail.com
password GMAIL_PASS
-logfile ~/.msmtp.log
account queensu
host mail.queensu.ca
@@ -21,7 +24,6 @@ tls_certcheck on
auth on
user 9rak
password QUEENSU_PASS
-logfile ~/.msmtp.log
account ubuntu
host smtp.gmail.com
@@ -34,7 +36,6 @@ tls_min_dh_prime_bits 1024
auth on
user ryanakca@gmail.com
password GMAIL_PASS
-logfile ~/.msmtp.log
account kubuntu
host smtp.gmail.com
@@ -47,7 +48,6 @@ tls_min_dh_prime_bits 1024
auth on
user ryanakca@gmail.com
password GMAIL_PASS
-logfile ~/.msmtp.log
account queensucs
host smtp.gmail.com
@@ -60,4 +60,3 @@ tls_min_dh_prime_bits 1024
auth on
user ryanakca@gmail.com
password GMAIL_PASS
-logfile ~/.msmtp.log
diff --git a/SUBSTS b/SUBSTS
index 16a2a43..f632fa7 100644
--- a/SUBSTS
+++ b/SUBSTS
@@ -51,3 +51,5 @@ GREP_PATH /bin/grep
# path to gnome-settings-daemon
GSD_PATH /usr/local/libexec/gnome-settings-daemon
+
+LOCALHOST epsilon.ryanak.ca
diff --git a/dm b/dm
index 2939a5a..c5d45d1 100755
--- a/dm
+++ b/dm
@@ -73,7 +73,7 @@ SHA256 = $(call get-val,SHA256)
VARS_.devscripts = MSMTP_PATH
VARS_.gitconfig = MSMTP_PATH
VARS_.imapfilter/config.lua = LOCAL_PASS PM_EMAIL
-VARS_.msmtprc = GMAIL_PASS QUEENSU_PASS
+VARS_.msmtprc = GMAIL_PASS QUEENSU_PASS LOCALHOST
VARS_.mutt/accounts.rc = LOCAL_PASS GMAIL_PASS QUEENSU_PASS MSMTP_PATH
VARS_.mutt/score.rc = MUTT_10_SCORE MUTT_20_SCORE
VARS_.muttrc = MSMTP_PATH