How to configure my linux machine to send emails from terminal.
I tried the following
apt-get install postfix mailutils
sudo systemctl start postfix
echo "Email Text" | mail -s "Subject" "user@address.com"
But the mail isn't sent.
I also checked postfix status and there is some error with guidelines.
sudo systemctl status postfix
...
Our system has detected that 550-5.7.1 this message does not meet IPv6
sending guidelines regarding PTR 550-5.7.1 records and authentication.
...
Is there an easy way to configure my linux machine to send emails?
I'm using debian.