feat: SMTP mail stack and separate server.env deploy
Add mail.php with STARTTLS sending, test scripts, server.env split from local .env, admin@ postbox docs, DKIM DNS support-ticket notes, and todo 11 for boka relay. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# 11 — SMTP-Relay von boka
|
||||
|
||||
**Priorität:** medium
|
||||
**Status:** offen
|
||||
**Abhängigkeiten:** [02-email-smtp.md](02-email-smtp.md) (erledigt)
|
||||
**Blockiert:** boka-Apps, die über 0012.de mailen sollen
|
||||
|
||||
## Ziel
|
||||
|
||||
Prozesse auf **boka** (Docker-Stacks, Cron-Skripte) senden ausgehende Mail über den Plesk-SMTP von `0012.de`.
|
||||
|
||||
## Voraussetzungen (0012.de — erledigt in Todo 02)
|
||||
|
||||
- Postfach `admin@0012.de` mit Aliasen `monitor@`, `alert@`
|
||||
- SMTP TLS/587 auf `ha01s019.org-dns.com`
|
||||
- DKIM aktiv
|
||||
|
||||
## Checkliste
|
||||
|
||||
- [ ] Entscheiden: dediziertes Relay-Postfach vs. `admin@` + alias From-Adressen
|
||||
- [ ] In Plesk: ausgehende Mail-Limits / Relay-Regeln prüfen (Hoster-Doku)
|
||||
- [ ] SPF für `0012.de` verifizieren (boka-IPs nur wenn direkt sendend — bei Relay nicht nötig)
|
||||
- [ ] boka: zentraler SMTP-Block (Docker env / `.env` auf boka)
|
||||
- `SMTP_HOST=ha01s019.org-dns.com`
|
||||
- `SMTP_PORT=587`
|
||||
- `SMTP_USER=admin@0012.de`
|
||||
- `SMTP_PASSWORD=…` (gleiches Postfach oder App-Passwort)
|
||||
- [ ] Test von boka: `curl`/swaks oder kleines Script → Mail an persönliche Adresse
|
||||
- [ ] Pro Stack: From-Adresse festlegen (`monitor@0012.de`, `alert@0012.de`, …)
|
||||
|
||||
## Akzeptanzkriterien
|
||||
|
||||
- Mindestens ein Dienst auf boka sendet erfolgreich über 0012.de-SMTP
|
||||
- Keine Mails im Spam (DKIM pass)
|
||||
|
||||
## Referenz
|
||||
|
||||
- [`../HOSTING.md`](../HOSTING.md) — SMTP-Zugang
|
||||
- [`../config/mail.php`](../config/mail.php) — Referenz-Implementierung (PHP)
|
||||
Reference in New Issue
Block a user