On Fri, Jul 30, 2021, at 11:01 AM, Mark Sapiro wrote:
On 7/30/21 10:47 AM, bob B wrote:
Basically once I have docker installed, and mailman3 up and no lists are available, How do I setup or/and sign in as admin?
I'm not sure what the actual command would be do run the django-admin interface in the docker image, but from below, it looks like it's
mailman-web
. Runmailman-web createsuperuser
to create an admin ID.
Container images don't support mailman-web command yet, it has to be ported to use the mailman-web command.
You can run commands with docker exec -it mailman-web ./manage.py <command>
.
For creating the superuser, you can run1
Although, if you have set the MAILMAN_ADMIN_EMAIL, that command should have already run in the setup process. You want to figure out the email sending process.
Although, you can create a second admin and set the password for it and login using that using the command mentioned at 1.
Also In docker how can I test sending mail? the command "mailman-web sendtestemail youremailid@domain" from the mailman-web container does not work.
You can run
docker exec -it mailman-web ./manage.py sendtestemail youremailid@domain
This command tries to send the mail via SMTP to localhost port 25.
How can I make sure my containers can send and receive mail?
The MTA should be listening on port 25 and that need to be visible in the mailman-web container. See <https://asynchronous.in/docker-mailman/#setting-up-your-mta>
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)