fix(infra): MTA/Redis/Resend box setup — fix env template + add runbook #4056
ccantynzcommented Jun 15, 2026
Originally written by @vercel[bot] on GitHub.
Deployment failed with the following error:
There is no GitHub account connected to this Vercel account.ccantynzcommented Jun 15, 2026
Originally written by @vercel[bot] on GitHub.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| alec-rae-com-admin | Preview, Comment | Jun 15, 2026 11:26pm |
Cross-repo impact
See what breaks downstream if this PR merges.
⮌ Merged
This pull request was merged into main.
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts
Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/AlecRae.com/pull/75
Summary
.env.production: FixedMTA_QUEUE_NAME=alecrae:outbound→alecrae-outbound(colon crashes BullMQ); swapped relay default from SES to Resend SMTP (matches current box config)morning-setup.md: Fixed box path (/opt/alecraenot/root/AlecRae.com), added www CNAME Vercel removal step, Resend DNS verification note, MTA worker section, Redis queue inspection commandsdocs/infra/mta-box-setup.md: New runbook — Redis install,alecrae-mtasystemd service file, outbound test send, BullMQ queue inspection, Resend domain verification checklistscripts/box-deploy.sh: Auto-restartsalecrae-mtaon deploy if the service existsWhy this matters
Without the MTA worker running, emails compose and queue fine but are never delivered — they sit in BullMQ forever. The Resend relay env vars Craig added to the box won't be used until the MTA process is running.
Test plan
apt-get install redis-server && systemctl start redis-server && redis-cli ping→ PONG/etc/systemd/system/alecrae-mta.servicefrommta-box-setup.mdsystemctl start alecrae-mta && systemctl status alecrae-mta→ activePOST /v1/messages/sendcurl command in mta-box-setup.mdjournalctl -u alecrae-mtashows job picked up and relayed via Resendhttps://claude.ai/code/session_017mhAkS4qhMjcvVnyFi61xp
Generated by Claude Code