Issue Description
When i first setup, i have set server hostname as mail.domain.com, i point A record to my server and MX too, i changed listenter to listen https on port 8443. Email function work perfectly. When i access https://mail.domain.com:8443/admin (i use cloudflare), i can access it, but when i fill username and press continue, it redirect me to container hostname instead of mail.domain.com, when i set hostname: mail.domain.com in docker compose, it redirect to the right domain. Here’s the compose
services:
stalwart:
image: stalwartlabs/stalwart:latest-alpine
hostname: mail.artemisx.net
restart: unless-stopped
environment:
STALWART_HTTPS_PORT: 8443
ports:
- "8443:8443"
- "8080:8080"
- "25:25"
# - "587:587"
- "465:465"
# - "143:143"
- "993:993"
# - "110:110"
# - "995:995"
# - "4190:4190"
volumes:
- stalwart-etc:/etc/stalwart
- stalwart-data:/var/lib/stalwart
valkey:
image: valkey/valkey:alpine
restart: unless-stopped
volumes:
stalwart-etc:
stalwart-data:
Expected Behavior
Redirect to first setup hostname (not the autofill container hostname)
Actual Behavior
Redirect to docker container hostname
Reproduction Steps
- First setup hostname to
mail.domain.com - Add 8443 to https listener
- Access
https://mail.domain.com:8443/admin - Fill out username and Continue
- Redirect to container hostname
Stalwart Version
v0.16.x
Installation Method
Docker
Database Backend
RocksDB
Blob Storage
RocksDB
Search Engine
Internal
Directory Backend
Internal
I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.
on
I have searched this support forum (open and closed topics) and confirm this is not a duplicate.
on
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on