-
-
Notifications
You must be signed in to change notification settings - Fork 0
Testing and Operations
Ra's al Ghul edited this page Aug 9, 2026
·
1 revision
npm test
npm audit --omit=dev
npx wrangler deploy --dry-runFor container changes:
docker compose up -d --build
docker compose ps
docker logs -f mail-bridge- Confirm
GET /healthreturnsOK. - Deploy the Worker and verify its R2 and Queue bindings.
- Send a test message through Cloudflare Email Routing.
- Confirm the Worker stores and queues the encrypted object.
- Confirm Mailbridge decrypts, scans, and delivers it locally.
- Verify the R2 object is deleted after successful delivery.
Use swaks only after the relay CIDR and TLS policy are configured:
swaks \
--server 127.0.0.1 \
--port 2525 \
--from postmaster@example.com \
--to recipient@example.net \
--header "Subject: Mailbridge outbound test"Add the appropriate STARTTLS options when TLS is required.
- Application and relay diagnostics are written to container stdout/stderr.
-
data/mailbridge.dbcontains audit events. -
secrets/secrets.dbcontains retry-queue secret material and must remain private. - Encrypted retry files live under
data/queue/.
Avoid verbose logging of raw messages or secret values. Audit retention is controlled by AUDIT_LOG_RETENTION_DAYS.
Copyright (c) 2026 Voxvey Research LLC, a Helio company.