summaryrefslogtreecommitdiff
path: root/msmtprc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-04-19 19:59:11 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-04-19 19:59:11 +0100
commit2d38e5a553b7a1c8e20597b0c2351f8b2f36ec41 (patch)
tree36e03532ac85e6851e0c3a5d4bf2d27f5431a21d /msmtprc
parente5b50746586ef6204d7cb237d7889972b47863e1 (diff)
Replaced ssmtp by msmtp
Diffstat (limited to 'msmtprc')
-rw-r--r--msmtprc22
1 files changed, 22 insertions, 0 deletions
diff --git a/msmtprc b/msmtprc
new file mode 100644
index 0000000..99e0e3e
--- /dev/null
+++ b/msmtprc
@@ -0,0 +1,22 @@
+defaults
+auth on
+tls on
+tls_trust_file /etc/ssl/certs/ca-certificates.crt
+logfile ~/.msmtp.log
+
+account gmail
+host smtp.gmail.com
+port 587
+from urbain.p.vaes@gmail.com
+user urbain.p.vaes
+passwordeval "gpg --use-agent --quiet --for-your-eyes-only --no-tty --decrypt ~/.passwords/main.asc"
+
+account imperial
+host smtp.cc.ic.ac.uk
+from u.vaes13@imperial.ac.uk
+user uv113
+passwordeval "gpg --use-agent --quiet --for-your-eyes-only --no-tty --decrypt ~/.passwords/imperial.asc"
+port 587
+
+# Set a default account
+account default : imperial