aboutsummaryrefslogtreecommitdiff
path: root/msmtp/.config
diff options
context:
space:
mode:
Diffstat (limited to 'msmtp/.config')
-rw-r--r--msmtp/.config/msmtp/config16
1 files changed, 16 insertions, 0 deletions
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