On Fri, Jul 30, 2021, at 12:23 PM, bob B wrote:
ok
./manage was the piece I was missing so getting closer :).
I set the MAILMAN_ADMIN_EMAIL in the .yaml, but what url do I use to login ?
http://mailman.domain.com/postorius/lists/. **This url does not like the email address I used for forget password.
Your email has to be confirmed by Postorius for you to login at /accounts/login.
MAILMAN_ADMIN_EMAIL requires you to go through the forgot password process to set an actual password, it doesn't set a default password.
If you email setup is broken for some reason and you can't get it working, one thing you could do is ask Django to simply print the outgoing emails to stdout by adding the following to the settigns_local.py (and restarting mailman-web container):
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
You can find the emails in docker logs mailman-web
output (or whatever the
command for container's stdout is) and click on the link to verify and login
into your account.
or http://mailman.domain.com/admin **** this url has no password reset option
To reset, you want to go to /accounts/password/reset/. URL should be findable from the Sign In page.
I added that environment variable "MAILMAN_ADMIN_EMAIL" after i already upped my containers,
But I then ran "docker-compose down" then "docker-compse up -d". Does that reload and setup everything again? or could that be the issue?
It reloads the configuration, but the admin is created in database, so that isn't re-created.
When I tried to send the test email it said "socket.gaierror: [Errno -2] Name does not resolve" sp maybe my mailman-web container can get dns???
Yeah, seems like something is wrong with the DNS setup there.
What version of container images are you using?
Also, what is the value of SMTP_HOST? Do you have that setup to point to the MTA?
-- thanks, Abhilash Raj (maxking)