Files
automation-based-email-list…/docs/operational-baseline.md
T
2026-08-15 15:05:39 -06:00

41 lines
2.0 KiB
Markdown

# Operational baseline
This document records the sanitized shape of a verified v1 integration. The addresses, hostnames, user names, tunnel names, and repository URL are placeholders; it contains no credentials, private recipients, or raw telemetry.
## Verified services
- Email-list VM: `10.0.0.10`, deployed at `/srv/email-list-system`.
- Private runtime: `/srv/email-list-system/runtime`, mounted in the container as `/data`.
- Ops Monitor telemetry service: `10.0.0.20:8000`.
- Public Postmark webhook: `https://telemetry.example.com/postmark`.
- Delivery provider: Postmark Broadcast Message Stream `broadcast-list`, through the REST API.
## Public webhook route
Cloudflare Tunnel `example-tunnel` publishes `telemetry.example.com` to Caddy's loopback listener at `http://127.0.0.1:8080`. The Caddyfile must therefore include a host handler **inside** its `http://:8080` tunnel-ingress block:
```caddy
@emaildata_paddlenet host telemetry.example.com
handle @emaildata_paddlenet {
reverse_proxy 10.0.0.20:8000
}
```
An HTTPS site block for the hostname alone does not serve Cloudflare Tunnel traffic on port 8080; without the tunnel-ingress handler, Postmark receives HTTP 404 responses.
## Verified delivery safeguards
1. The email system reads Postmark suppressions before a send.
2. An approved campaign records its content hash, template hash, and `EMAIL_LIST_GIT_COMMIT`.
3. A dry-run confirms recipient count and exclusions before a real send.
4. A SQLite backup and a private sanitized receipt are created for a real send.
5. Postmark delivery webhooks are stored by Ops Monitor under the PaddleNET tenant.
6. Both HTML and plain-text messages include Postmark's `{{{ pm:unsubscribe }}}` placeholder. Its visible link was verified in a delivered message.
## Deliberately not enabled
- Welcome processing remains disabled until `templates/welcome.md` is replaced with approved copy.
- No cron entries are installed yet.
- No real subscriber list has been imported.
- No apparent-non-opener follow-up has been scheduled.