ansible/roles/msmtp/templates/msmtprc
2020-08-09 01:04:44 -04:00

31 lines
689 B
Plaintext

# Accounts will inherit settings from this section
defaults
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
{% if msmtp_containerized %}
logfile /opt/misc/msmtp.log
{% else %}
logfile /var/log/msmtp.log
{% endif %}
from {{ msmtp_smtp_from }}
keepbcc on
account piframe
host {{ msmtp_smtp_server }}
port 587
auth on
user {{ msmtp_smtp_user }}
password {{ msmtp_smtp_password }}
# Set a default account
account default : piframe
{% if msmtp_containerized %}
aliases /opt/misc/aliases
{% else %}
aliases /etc/aliases
{% endif %}