Revert "Fix lint issues and improve test suite resilience"
This reverts commit 90d44bd3bc.
This commit is contained in:
+9
-9
@@ -1,19 +1,19 @@
|
||||
account default
|
||||
host {{ getenv "SMTP_HOST" }}
|
||||
from {{ getenv "MAIL_FROM" }}
|
||||
user {{ or (getenv "SMTP_USER") (getenv "MAIL_FROM") }}
|
||||
port {{ getenv "SMTP_PORT" }}
|
||||
host {{ env "SMTP_HOST" }}
|
||||
from {{ env "MAIL_FROM" }}
|
||||
user {{ or (env "SMTP_USER") (env "MAIL_FROM") }}
|
||||
port {{ env "SMTP_PORT" }}
|
||||
|
||||
{{ if eq (getenv "SMTP_OVERRIDE_FROM") "on" }}
|
||||
{{ if eq (env "SMTP_OVERRIDE_FROM") "on" }}
|
||||
set_from_header on
|
||||
{{ end }}
|
||||
|
||||
{{ if eq (getenv "SMTP_AUTH") "on" }}
|
||||
auth {{ getenv "SMTP_AUTH" }}
|
||||
{{ if eq (env "SMTP_AUTH") "on" }}
|
||||
auth {{ env "SMTP_AUTH" }}
|
||||
passwordeval "cat /run/secrets/smtp_password"
|
||||
{{ end }}
|
||||
|
||||
{{ if eq (getenv "SMTP_TLS") "on" }}
|
||||
tls {{ getenv "SMTP_TLS" }}
|
||||
{{ if eq (env "SMTP_TLS") "on" }}
|
||||
tls {{ env "SMTP_TLS" }}
|
||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user