Skip to content

SMTP : disable authentication for postfix #382

@bernardgut

Description

@bernardgut

Hello

I am running this in a Kubernetes environment which provides a local postfix relay at e.g. mail.mail.svc.cluster.local

Unfortunately I cannot send emails because gotrue tries to use STARTTLS while it should not:

      GOTRUE_JWT_ADMIN_GROUP_NAME:          supabase_admin
      GOTRUE_SMTP_HOST:                     mail.mail.svc.cluster.local
      GOTRUE_SMTP_PORT:                     587
      GOTRUE_SMTP_USER:                     
      GOTRUE_SMTP_PASS:                     <set to the key 'smtpPassword' in secret 'appflowy'>  Optional: false
      GOTRUE_SMTP_ADMIN_EMAIL:              [email protected]
      GOTRUE_MAILER_AUTOCONFIRM:            false

NOTE: GOTRUE_SMTP_PASS is empty

{"auth_event":{"action":"user_recovery_requested","actor_id":"a0f847a4-9b56-414c-b05e-6e22a96a4777","actor_username":"[email protected]","actor_via_sso":false,"log_type":"user"},"component":"api","error":"Error sending magic link email: tls: failed to verify certificate: x509: certificate is valid for localhost, not mail.mail.svc.cluster.local","level":"error","method":"POST","msg":"500: Error sending magic link","path":"/magiclink","referer":"https://HOSTNAME/auth/callback","remote_addr":"ADDR","request_id":"2dfc8f62-3fda-462e-8901-2a8250945a99","time":"2025-07-13T08:10:21Z"}

I am looking for an option to set authentication to disabled (which means to STARTTLS). Like I do for all other apps in this Kubernetes cluster. Any help appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions