01de7ed4fb
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>
51 lines
1.4 KiB
Bash
51 lines
1.4 KiB
Bash
# Kopie nach .env — niemals committen.
|
|
# Nur für diese Maschine: Deploy (FTP), lokale Tests.
|
|
# Server-Secrets → server.env (siehe server.env.example), nicht .env deployen!
|
|
|
|
# --- Hosting / Plesk (Classic 1.0, 0012.de) ---
|
|
PLESK_URL=https://ha01s019.org-dns.com:8443/
|
|
PLESK_USER=
|
|
PLESK_PASSWORD=
|
|
|
|
# FTP (gleiche Credentials wie Plesk laut Hoster)
|
|
FTP_HOST=ha01s019.org-dns.com
|
|
FTP_USER=
|
|
FTP_PASSWORD=
|
|
# Relativer Pfad zum Document Root (in Plesk prüfen, typisch httpdocs)
|
|
FTP_REMOTE_PATH=httpdocs
|
|
# Ausserhalb Document Root — nicht öffentlich (config, .env, data)
|
|
FTP_PRIVATE_PATH=private
|
|
|
|
# --- Domain & Server ---
|
|
DOMAIN=0012.de
|
|
HOSTING_SERVER=ha01s019.org-dns.com
|
|
HOSTING_SERVER_IP=62.108.32.139
|
|
NAMESERVER_1=ns1.org-ns.com
|
|
NAMESERVER_2=ns2.org-ns.com
|
|
|
|
# --- SMTP (Plesk-Mail auf diesem Webspace) ---
|
|
# Login: Hauptpostfach admin@0012.de (Aliase: monitor@, alert@)
|
|
SMTP_HOST=ha01s019.org-dns.com
|
|
SMTP_PORT=587
|
|
SMTP_ENCRYPTION=tls
|
|
SMTP_USER=admin@0012.de
|
|
SMTP_PASSWORD=
|
|
# Absender für System-Mails — Alias monitor@0012.de
|
|
SMTP_FROM=monitor@0012.de
|
|
# Empfänger für Alarme (persönliche Adresse)
|
|
ALERT_EMAIL=
|
|
|
|
# --- Monitoring: Push von boka → Webspace ---
|
|
# Token für ingest.php (stark, zufällig; identisch auf boka)
|
|
MONITOR_INGEST_TOKEN=
|
|
MONITOR_INGEST_URL=https://0012.de/ingest.php
|
|
|
|
# --- Monitoring: optionale Telegram-Alerts ---
|
|
TELEGRAM_BOT_TOKEN=
|
|
TELEGRAM_CHAT_ID=
|
|
|
|
# --- boka (vServer, Gegenstück) ---
|
|
BOKA_HOST=boka
|
|
BOKA_IP=89.163.231.180
|
|
BOKA_SSH_USER=
|