Differences

This shows you the differences between two versions of the page.

Link to this comparison view

os:linux:debian:ssmtp [2019/04/10 20:10] (current)
phreazer created
Line 1: Line 1:
 +====== SSMTP ======
  
 +In Debian based systems:
 +
 +apt-get install ssmtp
 +
 +
 +
 +Then edit the configuration file in /​etc/​ssmtp/​ssmtp.conf
 +
 +A sample configuration to use your gmail for sending e-mails:
 +
 +# root is the person who gets all mail for userids < 1000
 +root=your@email.com
 +
 +# Here is the gmail configuration (or change it to your private smtp server)
 +mailhub=smtp.gmail.com:​587
 +AuthUser=your@gmail.com
 +AuthPass=yourGmailPass
 +UseTLS=YES
 +UseSTARTTLS=YES
 +Note: Make sure the "​mail"​ command is present in your system. mailutils package should provide this one in Debian based systems.