From 69e905d78990b61e3d7dfc50a66b186fff679ea8 Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 5 Sep 2019 08:50:19 +0200 Subject: Add msmtp config --- README.md | 1 + config.yaml | 4 ++++ dotfiles/msmtprc | 25 +++++++++++++++++++++++++ install.sh | 4 ++++ 4 files changed, 34 insertions(+) create mode 100644 dotfiles/msmtprc diff --git a/README.md b/README.md index 44314e4..c21d048 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ i3 > i3 window manager config i3pystatus > i3 bar window manager replacement config khal > calendar config + msmtp > smtp client config scripts > misc scripts systemd > user services for differents application ``` diff --git a/config.yaml b/config.yaml index 7b8e1e0..f1e5e55 100644 --- a/config.yaml +++ b/config.yaml @@ -33,6 +33,9 @@ dotfiles: d_khal: src: config/khal dst: ~/.config/khal + f_msmtprc: + src: msmtprc + dst: ~/.msmtprc profiles: unicorn: dotfiles: @@ -46,6 +49,7 @@ profiles: - d_scripts - d_gnupg - d_khal + - f_msmtprc fenec: dotfiles: - d_i3pystatus 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 diff --git a/install.sh b/install.sh index 0a45df1..f3b8e7c 100644 --- a/install.sh +++ b/install.sh @@ -111,4 +111,8 @@ #sudo pacman -S khal +## msmtp + +#sudo pacman -S msmtp + # install dotfiles -- cgit v1.2.1