summaryrefslogtreecommitdiff
path: root/Biz/PodcastItLater/INFRASTRUCTURE.md
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/PodcastItLater/INFRASTRUCTURE.md')
-rw-r--r--Biz/PodcastItLater/INFRASTRUCTURE.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/Biz/PodcastItLater/INFRASTRUCTURE.md b/Biz/PodcastItLater/INFRASTRUCTURE.md
new file mode 100644
index 0000000..0d6392b
--- /dev/null
+++ b/Biz/PodcastItLater/INFRASTRUCTURE.md
@@ -0,0 +1,24 @@
+# Infrastructure Setup for PodcastItLater
+
+## Email Delivery via Mailgun
+
+PodcastItLater sends transactional emails (magic links for login) via Mailgun for reliable deliverability.
+
+### Setup Steps
+
+1. **Add domain to Mailgun**: Add `bensima.com` at [mailgun.com](https://app.mailgun.com/mg/sending/new)
+
+2. **Configure DNS**: Add the records Mailgun provides:
+ - **TXT** (SPF): Update existing to include `include:mailgun.org`
+ - **TXT** (DKIM): Add the DKIM record Mailgun provides
+ - **CNAME** (tracking, optional): For open/click tracking
+
+3. **Get SMTP credentials**: Go to Sending → Domain Settings → SMTP Credentials
+
+4. **Update production secrets** in `/run/podcastitlater/env`:
+ ```bash
+ EMAIL_FROM=noreply@bensima.com
+ SMTP_SERVER=smtp.mailgun.org
+ SMTP_PORT=587
+ SMTP_PASSWORD=your-mailgun-smtp-password
+ ```