Hi,
attempting to install mailman3 on a remote ubuntu server - my docker-compose file looks like:
https://gist.github.com/epifanio/e668b0b7f3709de8063661d947223e2a
/opt/mailman/core/mailman-extra.cfg
[mta]
incoming: mailman.mta.postfix.LMTP
outgoing: mailman.mta.deliver.deliver
lmtp_host: 127.0.1.1
lmtp_port: 8024
smtp_host: 127.0.1.1
smtp_port: 25
configuration: /etc/postfix-mailman.cfg
opt/mailman/web/settings_local.py
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = '127.0.1.1'
EMAIL_PORT = 25
USE_SSL = False
DEFAULT_FROM_EMAIL = "mailman@lists.libkml.org"
SERVER_EMAIL = "mailman@lists.libkml.org"
DEBUG = True
ALLOWED_HOSTS='libkml.org'
I know I am still missing the NGNIX/APACHE settings, but trying to access the service at: libkml.org:8000 I get a django error
Invalid HTTP_HOST header: 'libkml.org:8000'. You may need to add 'libkml.org' to ALLOWED_HOSTS.
but I have the 'libkml.org' to ALLOWED_HOSTS in both opt/mailman/web/settings_local.py
and in the dockerfile:
https://gist.github.com/epifanio/e668b0b7f3709de8063661d947223e2a#file-mailm... https://gist.github.com/epifanio/e668b0b7f3709de8063661d947223e2a#file-mailm...
Can you help me please to understand what I am doing wrong?
Thanks!