Skip to content

Instantly share code, notes, and snippets.

@paulchubatyy
Created November 1, 2010 11:59
Show Gist options
  • Save paulchubatyy/658047 to your computer and use it in GitHub Desktop.
Save paulchubatyy/658047 to your computer and use it in GitHub Desktop.
install msmtp
sudo service apache2 restart
sudo chmod 0644 /etc/msmtprc
sudo apt-get install msmtp ca-certificates
defaults
tls on
tls_starttls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
account default
host smtp.gmail.com
port 587
auth on
user [email protected]
password mypass
from [email protected]
logfile /var/log/msmtp.log
sendmail_path = "/usr/bin/msmtp -t"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment