21 lines
562 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
2025-01-29 14:20:34 +01:00
tls_starttls {{ 'on' if system_email.start_tls else 'off' }}
{% 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
2025-01-29 14:20:34 +01:00
host {{system_email.host}}
port {{system_email.smtp_port}}
from {{system_email.from}}
user {{system_email.username}}
password {{system_email.password}}
account default : system_email