blob: 0d6392bd5bb84165750ba74afd7dedb77b1dbc6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
```
|