On Sun, 6 Jan 2019 at 22:25, <brian@emwd.com> wrote:
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
Hi Brian,
I am waiting your guidance. Thanks for coming to my rescue with this. I suppose after you look at my files, you can ask questions and correct me where necessary. Perhaps that way me and you can come up with a clear step-by-step howto for running MM2 on docker.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)