From 168120d4068eff9816c11f0503738c12861821ae Mon Sep 17 00:00:00 2001 From: bard Date: Mon, 15 Apr 2024 06:24:14 -0400 Subject: initial commit --- msmtp/.config/msmtp/config | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 msmtp/.config/msmtp/config (limited to 'msmtp/.config') diff --git a/msmtp/.config/msmtp/config b/msmtp/.config/msmtp/config new file mode 100644 index 0000000..9be6dfd --- /dev/null +++ b/msmtp/.config/msmtp/config @@ -0,0 +1,16 @@ +defaults +auth on +protocol smtp +tls on +tls_trust_file /etc/ssl/certs/ca-certificates.crt + +# account_name +account home +host smtp.gmail.com +port 465 +tls_starttls off +eval echo from $(gpg -q --for-your-eyes-only -d ~/.authinfo.gpg | awk -F ' ' '/account_name/ { print $(NF-2); exit; }') +eval echo user $(gpg -q --for-your-eyes-only -d ~/.authinfo.gpg | awk -F ' ' '/account_name/ { print $(NF-2); exit; }') +passwordeval "gpg -q --for-your-eyes-only -d ~/.authinfo.gpg | awk -F ' ' '/account_name/ { print $NF; exit; }'" + +account default : home -- cgit v1.2.3