Add option to change tls trust file

This commit is contained in:
Mike C 2014-06-24 01:43:16 -04:00
parent 5298cbaf93
commit 65fb55beb2

View file

@ -3,7 +3,11 @@
defaults defaults
auth on auth on
tls on tls on
{% if msmtp_tls_trust_file is defined %}
tls_trust_file {{msmtp_tls_trust_file}}
{% else %}
tls_trust_file /etc/ssl/certs/ca-certificates.crt tls_trust_file /etc/ssl/certs/ca-certificates.crt
{% endif %}
# Logging # Logging
{% if msmtp_log is defined %} {% if msmtp_log is defined %}
@ -33,4 +37,4 @@ password {{msmtp_account.password}}
# Default account to use # Default account to use
account default : {{msmtp_default_account}} account default : {{msmtp_default_account}}
aliases /etc/aliases aliases /etc/aliases