feat(snappymail): update snappymail

This commit is contained in:
il
2026-06-26 16:07:59 +09:00
parent a49cdcb9d1
commit 5ccb60bd2a
15 changed files with 393 additions and 20 deletions
@@ -49,6 +49,9 @@ Secret=AUTHELIA_LDAP_PASSWORD,target=/run/secrets/AUTHELIA_LDAP_PASSWORD
# Database
Environment="AUTHELIA_STORAGE_POSTGRES_PASSWORD_FILE=/run/secrets/POSTGRES_AUTHELIA_PASSWORD"
Secret=POSTGRES_AUTHELIA_PASSWORD,target=/run/secrets/POSTGRES_AUTHELIA_PASSWORD
# SMTP
# SMTP shares LDAP password
Environment="AUTHELIA_NOTIFIER_SMTP_PASSWORD_FILE=/run/secrets/AUTHELIA_LDAP_PASSWORD"
Exec=--config /config/authelia.yaml
@@ -59,6 +62,7 @@ Exec=--config /config/authelia.yaml
ExecStartPre=/usr/bin/nc -zv {{ services['postgresql']['domain']['internal'] }}.{{ domain['internal'] }} {{ services['postgresql']['ports']['tcp'] }}
# services['ldap']['ports']['ldaps'] is 6360, but nftables works on 636 the original port
ExecStartPre=/usr/bin/nc -zv {{ services['ldap']['domain']['internal'] }}.{{ domain['internal'] }} 636
ExecStartPre=/usr/bin/nc -zv {{ services['maddy']['domain']['internal'] }}.{{ domain['internal'] }} 587
ExecStartPre=sleep 5
Restart=always
RestartSec=10s
@@ -87,8 +87,21 @@ storage:
# Notification provider
notifier:
filesystem:
filename: '/config/notification.txt'
smtp:
address: 'submission://{{ services['maddy']['domain']['internal'] }}.{{ domain['internal'] }}:587'
timeout: '5 seconds'
username: 'authelia'
password: '' # $AUTHELIA_NOTIFIER_SMTP_PASSWORD_FILE option is designated in container file
sender: 'Authelia <authelia@{{ domain['internal'] }}>'
identifier: '{{ services['authelia']['domain']['public'] }}.{{ domain['public'] }}'
subject: '[Authelia] {title}'
startup_check_address: 'authelia@{{ domain['internal'] }}'
disable_require_tls: false
disable_starttls: false
disable_html_emails: false
tls:
server_name: '{{ services['maddy']['domain']['internal'] }}.{{ domain['internal'] }}'
skip_verify: false
# This part needs the clients to integrate with Authelia in order for it to activate.
identity_providers: