Configuring Email on Rasbian Buster (Not Sending Email)
I had issues configuring sending Email on Rasbian Buster. (Linux 10) In the past I'd followed this type of procedure: apt-get install ssmtp apt-get install mailutils vim /etc/ssmtp/ssmtp.conf Adding something along the lines of the following: AuthUser=<myEmail> AuthPass=<MyEmailPassword> FromLineOverride=YES mailhub=smtp.gmail.com:587 UseSTARTTLS=YES However, the problem was that it didn't work. Whenever I tried to send Email, it would fail: echo "This is a test" | mail -s "Test" <email> mail: cannot send message: Process exited with a non-zero status The first thing was to change from ssmtp to msmtp apt remove ssmtp apt install msmtp vim /etc/msmtprc # Gmail specifics account gmail host ...