fixing postfix forwarding to mailpit
This commit is contained in:
parent
108080b9e0
commit
0251ffd2d7
|
|
@ -5,7 +5,7 @@ services:
|
|||
container_name: cmc-prod-postfix
|
||||
# Staging: relay to Mailpit (no authentication required)
|
||||
environment:
|
||||
- RELAYHOST=mailpit.stg.internal
|
||||
- RELAYHOST=mailpit
|
||||
- RELAYHOST_PORT=1025
|
||||
- ALLOWED_SENDER_DOMAINS=*
|
||||
# --- Gmail SMTP relay settings (uncomment for production) ---
|
||||
|
|
@ -18,6 +18,9 @@ services:
|
|||
# - SMTP_USE_STARTTLS=yes
|
||||
ports:
|
||||
- "25:25"
|
||||
networks:
|
||||
- cmc-stg-network
|
||||
- cmc-prod-network
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
container_name: cmc-prod-nginx
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ services:
|
|||
container_name: cmc-stg-postfix
|
||||
# Staging: relay to Mailpit (no authentication required)
|
||||
environment:
|
||||
- RELAYHOST=mailpit.stg.internal
|
||||
- RELAYHOST=mailpit
|
||||
- RELAYHOST_PORT=1025
|
||||
- ALLOWED_SENDER_DOMAINS=cmctechnologies.com.au
|
||||
# --- Gmail SMTP relay settings (uncomment for production) ---
|
||||
|
|
|
|||
Loading…
Reference in a new issue