Skip to content

Instantly share code, notes, and snippets.

@justinkelly
Last active April 20, 2016 02:44
Show Gist options
  • Save justinkelly/6051a1ed9ad39d658b57ea45199df88d to your computer and use it in GitHub Desktop.
Save justinkelly/6051a1ed9ad39d658b57ea45199df88d to your computer and use it in GitHub Desktop.
ssmtp.conf settings
#/bin/sh
echo "mailhub=${SMTP_HOST}:${SMTP_PORT}" > /etc/ssmtp/ssmtp.conf
echo "AuthUser=${SMTP_USER}" >> /etc/ssmtp/ssmtp.conf
echo "AuthPass=${SMTP_PASS}" >> /etc/ssmtp/ssmtp.conf
echo "UseSTARTTLS=YES" >> /etc/ssmtp/ssmtp.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment