1
0
IaC/ansible/roles/msmtp/templates/msmtprc.j2

20 lines
407 B
Django/Jinja

# Set default values for all following accounts.
defaults
aliases /etc/aliases
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile /var/log/msmtp/msmtp.log
# Home
account main
host {{ smtp_host }}
port {{ smtp_port }}
from {{ smtp_user }}
user {{ smtp_user }}
password {{ smtp_password }}
tls_starttls {{ smtp_start_tls }}
# Set a default account
account default : main