Install and Test
apt install postfix -y
echo "Test" | mail -s "Test" test@example.com
tail -f /var/log/mail.log
⚠️ Never run an open relay — your server will end up in spam blacklists within hours.
apt install postfix -y
echo "Test" | mail -s "Test" test@example.com
tail -f /var/log/mail.log