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:
- Raspberry Pi 3 B
- MicroSDCard – i recoment
SanDisk Ultra 32 GB
microSDHC for well performance - Raspberry Pi 3 Typ B microUSB Netzteil,
- Netzwerkkabel Cat 5 –
Netzwerkkabel Cat5