fix: add mailserver to front network for outbound internet access
Some checks failed
CI/CD / syntax-check (push) Successful in 1m11s
CI/CD / deploy (push) Has been cancelled

mail-internal is internal:true (no internet). mailserver needs the
front network to resolve DNS and deliver emails to external MX servers.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jack 2026-03-22 17:08:33 +07:00
parent b745041d55
commit cb798b67e9

View file

@ -139,7 +139,8 @@ services:
domainname: {{ domain_base }} domainname: {{ domain_base }}
restart: unless-stopped restart: unless-stopped
networks: networks:
- mail-internal - mail-internal # Outline → mailserver (internal)
- front # mailserver → internet (outbound delivery)
environment: environment:
- SMTP_ONLY=1 # no IMAP/POP3, sending only - SMTP_ONLY=1 # no IMAP/POP3, sending only
- ENABLE_RSPAMD=0 # lightweight: skip spam filter - ENABLE_RSPAMD=0 # lightweight: skip spam filter