computer-playbook/roles/systemd-notifier-email/templates/msmtprc.conf.j2

20 lines
494 B
Plaintext
Raw Normal View History

# Set default values for all following accounts.
defaults
auth on
2023-12-19 16:03:19 +01:00
logfile ~/.msmtp.log
{% if system_email_tls %}
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
2023-12-19 16:03:19 +01:00
{% else %}
tls off
{% endif %}
account system_email
host {{system_email_host}}
2023-12-19 16:03:19 +01:00
port {{system_email_smtp_port}}
from {{system_email}}
user {{system_email_username}}
password {{system_email_password}}
account default : system_email