fix(gitea/pf): Add mail

This commit is contained in:
2026-02-01 22:40:08 +01:00
parent 5a013b42ba
commit e4cb8b36df
2 changed files with 16 additions and 18 deletions
+6 -8
View File
@@ -73,14 +73,12 @@ gitea:
ENABLE_AUTO_REGISTRATION: true ENABLE_AUTO_REGISTRATION: true
ACCOUNT_LINKING: "login" ACCOUNT_LINKING: "login"
USERNAME: "nickname" USERNAME: "nickname"
# mailer: mailer:
# ENABLED: true ENABLED: true
# FROM: "noreply@oceanbox.io" FROM: "gitea@oceanbox.io"
# PROTOCOL: "smtp+startls" PROTOCOL: "smtp"
# SMTP_ADDR: "smtp.office365.com" SMTP_ADDR: "postfix-mail.postfix.svc.cluster.local"
# SMTP_PORT: 587 SMTP_PORT: 587
# USER: "noreply@oceanbox.io"
# PASSWD:
database: database:
DB_TYPE: postgres DB_TYPE: postgres
MAX_OPEN_CONNS: 90 MAX_OPEN_CONNS: 90
+10 -10
View File
@@ -27,16 +27,16 @@ config:
LOG_FORMAT: "json" LOG_FORMAT: "json"
ALLOW_EMPTY_SENDER_DOMAINS: "true" ALLOW_EMPTY_SENDER_DOMAINS: "true"
ALLOWED_SENDER_DOMAINS: "oceanbox.io" ALLOWED_SENDER_DOMAINS: "oceanbox.io"
RELAYHOST: "smtp.office365.com:587" RELAYHOST: "[smtp.office365.com]:587"
RELAYHOST_USERNAME: "noreply@oceanbox.io" RELAYHOST_USERNAME: "gitea@oceanbox.io"
RELAYHOST_PASSWORD: "00c73c4a-1ad5-477d-b773-d5d63986061e" RELAYHOST_TLS_LEVEL: "encrypt"
postfix: XOAUTH2_CLIENT_ID: "00c73c4a-1ad5-477d-b773-d5d63986061e"
myhostname: "oceanbox.io" XOAUTH2_SECRET: "3E18Q~ONNftFcCmHIHZmPbLtVqwLDBSCwI9hGagV"
# mynetworks: "127.0.0.0/8, 10.1.0.0/24" XOAUTH2_TOKEN_ENDPOINT: https://login.microsoftonline.com/3f737008-e9a0-4485-9d27-40329d288089/oauth2/v2.0/token
smtp_tls_security_level: "may" # XOAUTH2_INITIAL_ACCESS_TOKEN: ""
# To reduce log noise, only try authentication mechanisms supported by Zoho.com # XOAUTH2_INITIAL_REFRESH_TOKEN: ""
smtpd_sasl_auth_enable: "no" XOAUTH2_SYSLOG_ON_FAILURE: "no"
smtp_sasl_mechanism_filter: "plain, login" XOAUTH2_FULL_TRACE: "no"
resources: resources:
limits: limits: