ansible/roles/msmtp/templates/msmtprc

31 lines
689 B
Plaintext
Raw Normal View History

2020-08-04 22:51:58 +00:00
# Accounts will inherit settings from this section
defaults
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
2020-08-09 05:04:44 +00:00
{% if msmtp_containerized %}
2020-08-09 05:02:18 +00:00
logfile /opt/misc/msmtp.log
{% else %}
2020-08-04 22:51:58 +00:00
logfile /var/log/msmtp.log
2020-08-09 05:02:18 +00:00
{% endif %}
2020-08-04 22:51:58 +00:00
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
2020-08-09 05:02:18 +00:00
{% if msmtp_containerized %}
aliases /opt/misc/aliases
{% else %}
2020-08-04 22:51:58 +00:00
aliases /etc/aliases
2020-08-09 05:02:18 +00:00
{% endif %}