Misc cleanup for dispatcher
This commit is contained in:
parent
02d16a5787
commit
7d77b38355
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
|
msmtp_containerized: true
|
||||||
msmtp_email_address: user@domain.tld
|
msmtp_email_address: user@domain.tld
|
||||||
msmtp_smtp_server: "smtp.domain.tld"
|
msmtp_smtp_server: "smtp.domain.tld"
|
||||||
msmtp_smtp_from: "piframe@domain.tld"
|
msmtp_smtp_from: "piframe@domain.tld"
|
||||||
|
|
|
@ -4,7 +4,11 @@ auth on
|
||||||
tls on
|
tls on
|
||||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||||
|
|
||||||
|
{$ if msmtp_containerized %}
|
||||||
|
logfile /opt/misc/msmtp.log
|
||||||
|
{% else %}
|
||||||
logfile /var/log/msmtp.log
|
logfile /var/log/msmtp.log
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
from {{ msmtp_smtp_from }}
|
from {{ msmtp_smtp_from }}
|
||||||
keepbcc on
|
keepbcc on
|
||||||
|
@ -19,4 +23,8 @@ password {{ msmtp_smtp_password }}
|
||||||
# Set a default account
|
# Set a default account
|
||||||
account default : piframe
|
account default : piframe
|
||||||
|
|
||||||
|
{% if msmtp_containerized %}
|
||||||
|
aliases /opt/misc/aliases
|
||||||
|
{% else %}
|
||||||
aliases /etc/aliases
|
aliases /etc/aliases
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue