[Raspberry Pi] send Mail Konfiguration

How to Configure the Raspberry Pi with Debian image to Send Mails trouth an firewall.

# Login as Root
# Update Package List
apt-get update
# apt-get install ssmtp

# if Installation complete
# Configure the ssmtp.conf

vim /etc/ssmtp/ssmtp.conf
root=yourMailAddy@myDomain.com

# Sender Server / Extern Mail Hoster Adress
mailhub=mail.myDomain.com:25

# Senders Host must be Exist.
hostname=myDomain.com

AuthUser=myMailUserName
AuthPass=MySecretKey
UseTLS=YES

Now the Mail Configuration is ready to test.

# Login as Root
pstree | mail -s "PSTREE RESULT" mymail@addyy.com

If you plan to test this Projekt you need: