nixos/config/emacs-old/.msmtprc

60 lines
No EOL
1.8 KiB
Text

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