humble-homelab/roles/sendmail/templates/ssmtp.conf.j2

28 lines
784 B
Django/Jinja

#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root={{ machine_notifications_receiver }}
# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub={{ sendmail_mailhub }}
# Credentials for accessing mailhub
AuthUser={{ sendmail_mta_user }}
AuthPass={{ sendmail_mta_user_pw }}
# Where will the mail seem to come from?
rewriteDomain={{ sendmail_rewrite_domain }}
# The full hostname
hostname={{ sendmail_hostname }}
UseTLS=YES
# 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