From af053ef83a1203d4fda25f1e6d425c122df8f066 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Sat, 24 Jan 2015 18:26:57 +0100 Subject: [PATCH] sup - add msmtprc --- msmtprc | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 msmtprc diff --git a/msmtprc b/msmtprc new file mode 100644 index 0000000..2be8767 --- /dev/null +++ b/msmtprc @@ -0,0 +1,34 @@ + +# Set default values for all following accounts. +defaults +auth on +tls on +tls_trust_file /etc/ssl/certs/ca-certificates.crt +logfile ~/.config/msmtp.log + +# Gmail +account gmail +host smtp.gmail.com +port 587 +from felix.vanderjeugt@gmail.com +user felix.vanderjeugt +passwordeval "gpg -q --for-your-eyes-only --no-tty -d ~/.config/passwords.gpg | sed -n 's/gmail=//p'" + +# UGent +account ugent +host smtp.ugent.be +port 587 +from felix.vanderjeugt@ugent.be +user felix.vanderjeugt@ugent.be +passwordeval "gpg -q --for-your-eyes-only --no-tty -d ~/.config/passwords.gpg | sed -n 's/ugent=//p'" + +# 12UL +account 12ul +host smtp.gmail.com +port 587 +from felix.vanderjeugt@12urenloop.be +user felix.vanderjeugt@12urenloop.be +passwordeval "gpg -q --for-your-eyes-only --no-tty -d ~/.config/passwords.gpg | sed -n 's/12ul=//p'" + +# Set a default account +account default : gmail