fix: load SMTP via secret files on submissions:465

Env-based notifier creds were unreliable; use secrets/smtp_*.txt, RFC5322 sender, and implicit TLS to 0012.de Plesk.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Frank Schwenk
2026-08-01 10:51:55 +02:00
parent 93c78f503e
commit a3188264b0
4 changed files with 38 additions and 24 deletions
+8 -4
View File
@@ -1,6 +1,6 @@
---
# Authelia configuration — secrets via template files under /secrets/
# SMTP username/password/sender come from environment (see compose.yml / .env)
# SMTP username/password/sender: files in /secrets/smtp_*.txt (see README)
server:
address: 'tcp://:9091'
@@ -73,10 +73,14 @@ storage:
notifier:
disable_startup_check: false
smtp:
address: 'submission://ha01s019.org-dns.com:587'
timeout: '10s'
address: 'submissions://ha01s019.org-dns.com:465'
timeout: '15s'
username: {{ secret "/secrets/smtp_username.txt" | mindent 0 "|" | msquote }}
password: {{ secret "/secrets/smtp_password.txt" | mindent 0 "|" | msquote }}
sender: {{ secret "/secrets/smtp_sender.txt" | mindent 0 "|" | msquote }}
identifier: 'auth.schwenk.online'
subject: '[Authelia] {title}'
startup_check_address: 'cuidas@gmail.com'
disable_require_tls: false
disable_starttls: false
# username, password, sender: AUTHELIA_NOTIFIER_SMTP_* from environment
disable_html_emails: false