- Explicit SMTP flow (dial -> EHLO -> STARTTLS -> AUTH -> MAIL/RCPT/DATA) with errors naming the refusing step (also logged as smtp_step) - EHLO with the sender's domain instead of "localhost" - Envelope gets the bare address; "Name <addr>" stays in the From header (was rejected as invalid MAIL FROM) - Date and Message-ID headers, RFC 2047 subject, quoted-printable body - SMTP_SKIP_VERIFY / admin switch for self-signed certificates; SMTP checkboxes are switches now - Tests against a fake SMTP server (STARTTLS, 451, display names) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
30 lines
1.0 KiB
YAML
30 lines
1.0 KiB
YAML
services:
|
|
mindsift:
|
|
image: git.dsit.me/sandrodach/mindsift:dev
|
|
container_name: mindsift
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${PORT:-8080}:8080"
|
|
volumes:
|
|
- ./data:/data
|
|
environment:
|
|
- PORT=8080
|
|
- DATA_DIR=/data
|
|
- JWT_SECRET=${JWT_SECRET:-change_this_to_a_secure_random_key_min_32_chars}
|
|
- BASE_URL=${BASE_URL:-http://localhost:8080}
|
|
- ALLOW_REGISTRATION=${ALLOW_REGISTRATION:-false}
|
|
- LOG_LEVEL=${LOG_LEVEL:-info}
|
|
# Set LOG_LEVEL=debug or DEBUG=true for detailed request and sync logging
|
|
# - LOG_LEVEL=debug
|
|
# - DEBUG=true
|
|
# Demo mode: if true, automatically seeds demo accounts admin/admin and user/user
|
|
- MINDA_DEMO=${MINDA_DEMO:-false}
|
|
# Optional SMTP / Mail Configuration (can also be configured in Admin UI)
|
|
- SMTP_HOST=${SMTP_HOST:-}
|
|
- SMTP_PORT=${SMTP_PORT:-587}
|
|
- SMTP_USER=${SMTP_USER:-}
|
|
- SMTP_PASS=${SMTP_PASS:-}
|
|
- SMTP_FROM=${SMTP_FROM:-}
|
|
- SMTP_TLS=${SMTP_TLS:-true}
|
|
- SMTP_SKIP_VERIFY=${SMTP_SKIP_VERIFY:-false}
|