Skip to content

Flip prod mail backend to SES in values-prod.yaml — gated on the production-access grant #943

Not planned

Description

@athvin

What

values-prod.yaml today leaves erserver.email.backend deliberately empty, so POST /v1/email answers 503 and the BFF returns the link in the response (emailed: false). Once SES production access is granted — the owner action carried by #939, multi-day AWS lead time — flip:

  • erserver.email.backend: "ses"
  • from to an address at the apex (the module's policy is StringLike ses:FromAddress *@dupezero.com)
  • configurationSet to the ses_configuration_set_name Terraform output (er-prod)

Why it is gated, not done with the substrate

The substrate PR (identity, DKIM, MAIL FROM, the first policy on er-prod-api-pod) lands with the account still in sandbox. A sandbox send to an unverified recipient is a MessageRejected, and er-server's send path errors where the log backend returns the link in the response — flipping early is a REGRESSION of the designed degradation, not an improvement. Flip only once the grant is in, or once a conscious call is made that visible failures beat the link fallback.

Also decide at flip time

  • DMARC. No _dmarc.dupezero.com record exists (checked 2026-11-09). The substrate PR deliberately does not guess a policy; the flip is when deliverability starts mattering, so a v=DMARC1 TXT belongs with it.

Blocks #938 (the second-IP login probe needs an invited user). Refs #939.

Activity

  1. added
    mvp
    on Nov 9, 2026
  2. added
    pruned
    on Nov 27, 2026
  3. athvin commented on Nov 27, 2026

    @athvin
    OwnerAuthor

    Closed in the second 2026-11-26 board prune. The board now targets only the API that customers use to build their own deduplication tooling. Everything else is bonus, and this card is one of those. It's labelled pruned and can be reopened later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    mvppruned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions