Skip to content

noreply@server.com configuration

Ségolène Albouy edited this page May 19, 2026 · 4 revisions

In front/app/config/.env

EMAIL_HOST="host.docker.internal"
EMAIL_PORT=25
EMAIL_USE_TLS=False
EMAIL_USE_SSL=False
EMAIL_HOST_USER=""
EMAIL_HOST_PASSWORD=""
DEFAULT_FROM_EMAIL="noreply@server.com "
SERVER_EMAIL="noreply@server.com "

In docker-compose.yml

web:
    ...
    extra_hosts:
        - "host.docker.internal:host-gateway"

Add docker subnet

# find your network name
$ docker network ls

# find the IP of IPAM.Config.Subnet
$ docker network inspect docker_aikon_network

Add IP to /etc/postfix/main.cf

$ sudo nano /etc/postfix/main.cf

...
inet_interfaces = all
mynetworks = ..... # add the IP

Clone this wiki locally