(config) emacs: init msmtprc

I DID IT HAHA YESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYESYES
This commit is contained in:
Sakooooo 2024-10-23 01:18:21 +04:00
parent 3ee24d1d46
commit e353ea8e27
Signed by: sako
GPG key ID: FE52FD65B76E4751

60
config/emacs/.msmtprc Normal file
View file

@ -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