aboutsummaryrefslogtreecommitdiff
path: root/msmtp
diff options
context:
space:
mode:
authorbard <[email protected]>2024-04-15 06:24:14 -0400
committerbard <[email protected]>2024-04-15 06:24:14 -0400
commit168120d4068eff9816c11f0503738c12861821ae (patch)
tree635e839eeca920432fcaa8417b282e074e84a4c2 /msmtp
initial commit
Diffstat (limited to 'msmtp')
-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