fix(postfix): Plain

This commit is contained in:
2026-01-24 16:47:38 +01:00
parent 8a39fb8afc
commit e55212a859
+42 -9
View File
@@ -1,14 +1,47 @@
# https://github.com/bokysan/docker-postfix/blob/master/helm/mail/values.yaml
service:
type: ClusterIP
port: 587
# We don't attach a PVC, meaning messages may get lost when the pod is restarted,
# but that's okay for us.
persistence:
enabled: false
recreateOnRedeploy: false
container:
postfix:
securityContext:
privileged: false
allowPrivilegeEscalation: false
readinessProbe:
periodSeconds: 60
livenessProbe:
periodSeconds: 60
config:
general:
TZ: "UTC"
LOG_FORMAT: "json"
ALLOW_EMPTY_SENDER_DOMAINS: "true"
ALLOWED_SENDER_DOMAINS: "oceanbox.io"
DKIM_SELECTOR: "mail"
RELAYHOST: "smtp.office365.com:587"
RELAYHOST_USERNAME: "noreply@oceanbox.io"
POSTFIX_smtp_tls_security_level: "encrypt"
POSTFIX_myhostname: "oceanbox.io"
POSTFIX_mynetworks: "127.0.0.0/8, 10.1.0.0/24, ::1"
XOAUTH2_CLIENT_ID: "00c73c4a-1ad5-477d-b773-d5d63986061e"
XOAUTH2_SECRET: "00c73c4a-1ad5-477d-b773-d5d63986061e"
ALLOW_EMPTY_SENDER_DOMAINS: "true"
XOAUTH2_INITIAL_ACCESS_TOKEN: "<put_your_acess_token>"
XOAUTH2_INITIAL_REFRESH_TOKEN: "<put_your_refresh_token>"
RELAYHOST_PASSWORD: "00c73c4a-1ad5-477d-b773-d5d63986061e"
postfix:
myhostname: "oceanbox.io"
mynetworks: "127.0.0.0/8, 10.1.0.0/24, ::1"
smtp_tls_security_level: "may"
# To reduce log noise, only try authentication mechanisms supported by Zoho.com
smtpd_sasl_auth_enable: "no"
smtp_sasl_mechanism_filter: "plain, login"
resources:
limits:
cpu: 200m
memory: 200Mi
requests:
cpu: 50m
memory: 50Mi