caelum0x 173b60097d feat(mail): OCI relay pool, direct MTA (parked), inbound HTTPS ingest, Cloudflare inbound forwarder
- mail-oci: OCI Email Delivery client (signed REST), per-customer domain/DKIM/sender onboarding, suppression mirror, sending limits
- mail-mta: RelayPool transport with OCI primary, optional secondary, health/back-off/quota failover; direct MTA kept but off
- mail-inbound: DSN/ARF/DMARC/TLS-RPT parsing + HMAC-signed POST /inbound/raw ingest (no port 25)
- workers/inbound-forwarder: Cloudflare Email Routing worker forwarding raw mail over HTTPS

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-13 01:14:52 +03:00

16 lines
673 B
JSON

{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "scribase-mail-inbound-forwarder",
"main": "src/index.ts",
"compatibility_date": "2025-12-02",
"observability": { "enabled": true },
"vars": {
// Where mail-inbound's HTTP ingest lives. Override per environment.
"INGEST_URL": "https://inbound.scribase.com",
// Domains this worker is allowed to forward for; anything else is rejected.
"ALLOWED_RCPT_DOMAINS": "bounce.scribase.com,inbound.scribase.com,scribase.com"
}
// Secrets (never in this file): `wrangler secret put INGEST_SECRET`
// Local dev: put INGEST_SECRET=... and INGEST_URL=http://127.0.0.1:8585 in .dev.vars
}