I have a headless Arch Linux device, and I want it to send emails automatically through ProtonMail. I tried the following steps:
have a paid ProtonMail account
install and set up proton-bridge
yay -S protonmail-bridge-nogui
protonmail-bridge --cli # set up my account
systemctl --user start bridge
install and set up ssmtp
sudo pacman -S ssmtp
sudo vim /etc/ssmtp/ssmtp.conf
#
# /etc/ssmtp.conf -- a config file for sSMTP sendmail.
#
# See the ssmtp.conf(5) man page for a more verbose explanation of the
# available options.
root=`MY_ROOT`
mailhub=127.0.0.1:1025
rewritedomain=pm.me
hostname=pm.me
UseTLS=yes
TLS_CA_File=/etc/ssl/certs/ca-certificates.crt
UseSTARTTLS=yes
AuthUser=`MY_EMAIL`
AuthPass=`MY_PASS`
AuthMethod=LOGIN
I have a headless Arch Linux device, and I want it to send emails automatically through ProtonMail. I tried the following steps:
Then I got the results:
ProtonMai Bridge has this error:
It's very probable that this problem will just be solved if #245 is solved.