Thank you for your answer. I should have seen that in the Docs, but somehow missed it: https://docs.mailman3.org/en/new/prodsetup.html
I set it in the corresponding file, but unfortunately it doesn't work :-( I tried other setting to prove, that the file is used (ALLOWED_HOSTS works, changed here from '*' to 'localhost' and my example-domains, this works). It seems to be the same as this user describes (a while ago): https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/7...
How could I check, that the setting is used!?
But maybe some additional information:
- I use the Debian installation on a stable buster, so mailman is version 3.2.1
- I use apache2 as my web-server and use the given alias-conf-file
- Python is version 3.7.3
- Postorius is Version 1.2.4
- HyperKitty is version 1.2.2
-> In Django admin-Panel (/mailman3/admin/) I added 2 Websites test1.xyz.de and test2.xyz.de -> In Postorius (/mailman3/postorius/domains/) I added 2 Domains as Mail Hosts test1.xyz.de and test2.xyz.de with the corresponding Web hosts as stated above -> I added 1 list (/mailman3/postorius/lists/) for each Mail Domain as follows: test1@test1.xyz.de and test2@test2.xyz.de -> then created a vhost in apache2 with SSL-cert and added the Domains in ALLOWED_HOSTS: test1.xyz.de and test2.xyz.de -> When I go to the 2 Testdomains (corresponding web hosts), I see on each both lists for the different Mail domains
What do I miss? Or where to investigate?
Thank you in advance, best regards.
By the way: what'S the difference in the 2 docs? https://docs.mailman3.org/en/latest/index.html and https://mailman.readthedocs.io/en/latest/README.html
Am 18.03.21 um 21:52 schrieb Mark Sapiro:
On 3/18/21 9:20 AM, jens.guenther@posteo.de wrote:
Is it possible, to only show publicly (if advertised) these lists on a certain url, that are corresponding to the web host the url I accessed mailman through?
Set FILTER_VHOST = True in your settings_local.py or where ever you put your site Django settings.