From e353ea8e270e9020f532e6b51eb564a6f694224b Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 23 Oct 2024 01:18:21 +0400 Subject: [PATCH] (config) emacs: init msmtprc I DID IT HAHA YESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYES --- config/emacs/.msmtprc | 60 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 config/emacs/.msmtprc diff --git a/config/emacs/.msmtprc b/config/emacs/.msmtprc new file mode 100644 index 00000000..504ec029 --- /dev/null +++ b/config/emacs/.msmtprc @@ -0,0 +1,60 @@ +defaults +auth on +tls on +tls_trust_file /etc/ssl/certs/ca-certificates.crt +logfile ~/.msmtp.log + +account gmail-1 +auth on +host smtp.gmail.com +port 587 +protocol smtp +eval echo from $(pass show accounts.google.com/one | grep 'login:' | sed 's/login: //') +auth oauthbearer +eval echo user $(pass show accounts.google.com/one | grep 'login:' | sed 's/login: //') +passwordeval "oama access $(pass show accounts.google.com/one | grep 'login:' | sed 's/login: //')" + +account gmail-2 +auth on +host smtp.gmail.com +port 587 +protocol smtp +eval echo from $(pass show accounts.google.com/two | grep 'login:' | sed 's/login: //') +auth oauthbearer +eval echo user $(pass show accounts.google.com/two | grep 'login:' | sed 's/login: //') +passwordeval "oama access $(pass show accounts.google.com/two | grep 'login:' | sed 's/login: //')" + +account outlook +auth on +host smtp-mail.outlook.com +port 587 +tls_starttls on +protocol smtp +eval echo from $(pass show Microsoft | grep 'login:' | sed 's/login: //') +auth xoauth2 +eval echo user $(pass show Microsoft | grep 'login:' | sed 's/login: //') +passwordeval "oama access $(pass show Microsoft | grep 'login:' | sed 's/login: //')" + +account protonmail +auth on +host 127.0.0.1 +port 1025 +tls off +auth plain +protocol smtp +eval echo from $(pass show 'Proton Account' | grep 'login:' | sed 's/login: //' | sed 's/$/@proton.me/') +eval echo user $(pass show 'Proton Account' | grep 'login:' | sed 's/login: //') +passwordeval cat ~/.hydroxide-bridge-pass + +account li +auth on +auth plain +eval echo host $(pass show email/li | grep 'host:' | sed 's/host: //') +port 587 +proxy_host 127.0.0.1 +proxy_port 9050 +tls_starttls on +protocol smtp +eval echo from $(pass show email/li | grep 'login:' | sed 's/login: //') +eval echo user $(pass show email/li | grep 'login:' | sed 's/login: //') +passwordeval pass show email/li \ No newline at end of file