make SMTP server configurable

This commit is contained in:
Matthew Hodgson
2024-11-08 20:12:44 +00:00
parent 477dde052a
commit 485a2cf5fd
3 changed files with 6 additions and 4 deletions

View File

@@ -22,6 +22,8 @@ REPORT_STATS=yes
IDENTITY_SERVER_URL=https://vector.im
SMTP_HOST=mailhog
SMTP_PORT=1025
MAIL_NOTIF_FROM_ADDRESS=noreply@$DOMAIN
ABUSE_SUPPORT_EMAIL=abuse@$DOMAIN
SECURITY_SUPPORT_EMAIL=security@$DOMAIN

View File

@@ -44,8 +44,8 @@ email:
reply_to: '${MAS_EMAIL_REPLY_TO}'
transport: smtp
mode: plain
hostname: mailhog
port: 1025
hostname: ${SMTP_HOST}
port: ${SMTP_PORT}
${SECRETS_MAS_SECRETS}
passwords:
enabled: true

View File

@@ -70,8 +70,8 @@ background_updates:
sleep_enabled: false
email:
smtp_host: mailhog
smtp_port: 1025
smtp_host: ${SMTP_HOST}
smtp_port: ${SMTP_PORT}
enable_tls: false
notif_from: "Your %(app)s homeserver <${MAIL_NOTIF_FROM_ADDRESS}>"
app_name: Matrix