Files
claw-email/.env.example
T
thuanleandClaude Opus 4.7 2168042edb fix default callback base URL port mismatch
Derive CALLBACK_BASE_URL fallback from LISTEN_ADDR so default local setup resolves to localhost:8080 and stays aligned with server bind port.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-27 20:56:47 +07:00

26 lines
534 B
Bash

# === IMAP ===
IMAP_HOST=imap.example.com
IMAP_PORT=993
IMAP_USER=bridge@example.com
IMAP_PASS=changeme
# === SMTP ===
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=bridge@example.com
SMTP_PASS=changeme
# === OpenClaw ===
OPENCLAW_URL=https://api.openclaw.example.com
OPENCLAW_API_KEY=
# === Bridge ===
BRIDGE_CALLBACK_TOKEN=a-strong-random-token
SYSTEM_EMAIL=bridge@example.com
WHITELIST_EMAILS=user1@example.com,user2@example.com
# === Optional ===
IMAP_PROXY_URL=
LISTEN_ADDR=:8080
CALLBACK_BASE_URL=http://localhost:8080