I have created two files: (a) /opt/mailman/web/settings_local.py: SERVE_FROM_DOMAIN: 'mm3.my.co.ke' ALLOWED_HOSTS: 'my.co.ke' HYPERKITTY_API_KEY: 'Whatever' MAILMAN_ADMIN_USER: 'admin' MAILMAN_ADMIN_EMAIL: 'odhiambo(a)gmail.com' SECRET_KEY: 'Whatever' EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = '172.19.199.1' EMAIL_PORT = 25
Hi Odhiambo,
If you are using Docker then some of those settings are handled by the docker-compuse.yaml file. As you know, I now have a fully working MM3 installation howbeit on CentOS 7. Here is what I have in my settings_local.py file:
ALLOWED_HOSTS=['1stvirtualhost.domain.com', "localhost", "127.0.0.1", "173.230.131.82", "mailman-web", "2ndvirtualhost.domain.com"] EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = '172.19.199.1' EMAIL_PORT = 25 FILTER_VHOST = True
The virtualhost entries are the two subdomains that I currently have setup in Mailman 3.
I will respond more to your inquiry later. Brian