Hi,
On Mon, Aug 7, 2017, at 06:06 AM, Henrik Rasmussen wrote:
I used Docker to installed Mailman 3.
The top header of the web interface says "Example.Com" while linking to the correct site URL (I believe coming from SERVE_FROM_DOMAIN). In a post[1], Mark Sapiro referred to the template system in Mailman 3 by pointing out that "a custom template can be put in var/templates/site/en/welcome.txt or var/templates/domains/example.com/en/welcome.txt<http://var/templates/domains/example.com/en/welcome.txt> or var/templates/lists/listname.example.com/en/welcome.txt<http://var/templates/lists/listname.example.com/en/welcome.txt> where var is Mailman's configured var_dir". I believe this refers to the mail templates.
Yes, these are email templates.
- Where do I change the similar template system, for the web interface, without breaking a laver upgrade?
I am not sure if you can do that for now without tinkering with the source code.
- How do I change the site name in the top of the web interface on Mailman 3 to my subside and ?
When you deploy the web interface, the domain it is being served from is used at the top of the web interface. It is defined by SITE_ID in the settings.py file for Django (or settings_local.py if you are using the container images). The default value is set to 1 and points to example.com.
In the newer versions of Container Images, the SERVE_FROM_DOMAIN
environment variable's value will replace the example.com
domain and
you will be able to see that instead of example.com.
For now, you should just login into the admin interface at /admin/ and just create a new Site model. And then use the id of that Site in your Django's settings.py. Each domain that you add gets their own id and depending on which domain you are serving from, you can set the SITE_ID in the settings. Mailman 3 supports multiple domains at the same time.
[1] https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/2...
The Mailman command in Mailman Core doesn't seem to have a command for listing the accounts users have created by using Sign up in the web interface, so I believe that accounts may be created in the webinterface.
The Core and and Web frontend handle users separately. Ideally, a user shouldn't have to worry about the Core ever and only interact with the Web Interface.
Is there similar commands for the web interface like the mailman commands for the Mailman core?
You can interact with the Django shell to get almost any internal data structure. But you can go to the admin interface at /admin/ and you will find the list of users there along with a whole lot of other information.
Regards, Henrik Rasmussen
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj