Host-Ansible-Setup/services/service_nagios/ssmtp.conf

40 lines
988 B
Plaintext

#
# Config file for sSMTP sendmail
#
# Gmail configuration with help from
# http://askubuntu.com/questions/155248/how-can-i-have-nagios-alerts-emailed-to-my-gmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=mygmailaccount@gmail.com
# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
# For Gmail use the following
mailhub=smtp.gmail.com:587
# Where will the mail seem to come from?
#rewriteDomain=
# The full hostname
hostname=raspberrypi
# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
#FromLineOverride=YES
UseTLS=YES
UseSTARTTLS=YES
AuthMethod=LOGIN
AuthUser=mygmailaccount@gmail.com
AuthPass=passw
# TEMPLATE FOR GMAIL
# UseTLS=YES
# UseSTARTTLS=YES
# AuthMethod=LOGIN
# AuthUser=mygmailaccount@gmail.com
# AuthPass=passw