Add SMTP_HELLO_NAME to let operators set the EHLO/HELO identity

Google Workspace SMTP relay (smtp-relay.gmail.com) rejects generic
EHLO identifiers such as "localhost", which is Go net/smtp's default.
Operators can now set SMTP_HELLO_NAME to a valid hostname so that
c.Hello() is called before StartTLS, satisfying strict relay policies.

Fixes https://github.com/getprobo/probo/issues/1284

Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
Bryan Frimin
2026-06-05 07:22:55 +02:00
parent 8231aecaba
commit 552246b5d3
8 changed files with 20 additions and 0 deletions

View File

@@ -225,6 +225,10 @@ spec:
{{- end }}
- name: SMTP_TLS_REQUIRED
value: {{ .Values.probo.mailer.smtp.tlsRequired | quote }}
{{- if .Values.probo.mailer.smtp.helloName }}
- name: SMTP_HELLO_NAME
value: {{ .Values.probo.mailer.smtp.helloName | quote }}
{{- end }}
# OpenAI Integration
{{- if .Values.probo.openai.apiKey }}
- name: OPENAI_API_KEY

View File

@@ -157,6 +157,9 @@ probo:
user: "apikey"
password: "CHANGE_ME_SMTP_PASSWORD"
tlsRequired: true
# Set to your server's hostname when the relay requires a specific EHLO/HELO
# identity (e.g. Google Workspace smtp-relay.gmail.com rejects "localhost").
# helloName: "mail.example.com"
# OpenAI integration for AI features (optional)
openai:

View File

@@ -251,11 +251,13 @@ probo:
user: ""
password: ""
tlsRequired: true
helloName: ""
# smtp:
# addr: "localhost:1025"
# user: ""
# password: ""
# tlsRequired: false
# helloName: ""
# OpenAI integration (optional)
openai: