From 69e905d78990b61e3d7dfc50a66b186fff679ea8 Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 5 Sep 2019 08:50:19 +0200 Subject: Add msmtp config --- dotfiles/msmtprc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dotfiles/msmtprc (limited to 'dotfiles') diff --git a/dotfiles/msmtprc b/dotfiles/msmtprc new file mode 100644 index 0000000..a86b148 --- /dev/null +++ b/dotfiles/msmtprc @@ -0,0 +1,25 @@ +# Set default values for all following accounts. +defaults +auth on +tls on +tls_trust_file /etc/ssl/certs/ca-certificates.crt +logfile ~/.msmtp.log + +# Gmail +account neodarz +host mail.neodarz.net +port 587 +from neodarz@neodarz.net +user neodarz@neodarz.net +passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.password-store/Mail/neodarz@neodarz.net.gpg" + +# A freemail service +account corentin.breton +host mail.neodarz.net +port 587 +from corentin.breton@neodarz.net +user corentin.breton@neodarz.net +passwordeval "gpg --quiet --for-your-eyes-only --no-tty --decrypt ~/.password-store/Mail/corentin.breton@neodarz.net.gpg" + +# Set a default account +account default : neodarz -- cgit v1.2.1