mailman-web wants smtp too

This commit is contained in:
Aeris 2018-11-28 15:21:35 +01:00
parent a99736499d
commit fe40ec4e2f
2 changed files with 4 additions and 1 deletions

View file

@ -65,7 +65,7 @@ alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases alias_database = hash:/etc/aliases
mydestination = localhost mydestination = localhost
relayhost = relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 172.16.0.0/12 mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 172.0.0.0/8
mailbox_size_limit = 0 mailbox_size_limit = 0
recipient_delimiter = + recipient_delimiter = +
inet_interfaces = all inet_interfaces = all

View file

@ -176,6 +176,7 @@ services:
links: links:
- mailman-core:mailman-core - mailman-core:mailman-core
- db:db - db:db
- smtp:smtp
volumes: volumes:
- {{ docker_data_folder }}/mailserver/mailman/web:/opt/mailman-web-data - {{ docker_data_folder }}/mailserver/mailman/web:/opt/mailman-web-data
environment: environment:
@ -188,6 +189,8 @@ services:
- DJANGO_ALLOWED_HOSTS=mailman.{{ DOMAIN }} - DJANGO_ALLOWED_HOSTS=mailman.{{ DOMAIN }}
- MAILMAN_ADMIN_USER=admin - MAILMAN_ADMIN_USER=admin
- MAILMAN_ADMIN_EMAIL=a3x@eris.cc - MAILMAN_ADMIN_EMAIL=a3x@eris.cc
- SMTP_PORT=587
- SMTP_HOST=smtp
- UWSGI_STATIC_MAP=/static=/opt/mailman-web-data/static - UWSGI_STATIC_MAP=/static=/opt/mailman-web-data/static
labels: labels:
#- "traefik.frontend.rule=Host:mailman.{{ DOMAIN }}" #- "traefik.frontend.rule=Host:mailman.{{ DOMAIN }}"