[Mailman-Users] Re: Virtualhosts in mailman 3 / postorius

2020-09-25 Thread Mark Sapiro
On 9/25/20 4:55 AM, Johannes Rohr wrote:

> Great, and apart from that, is the virtualhost configuration obsolete in
> mailman3? I noticed that when you create a new list, you already have to
> append the domain, so this looks to me as if this is now implicit.


The MM 2.1 virtualhost configuration is obsolete. Mailman 3 has true
virtual hosting in that it can support lists with the same list name in
different domains, unlike MM 2.1 where list names had to be globally unique.

Note that the list for Mailman 3 user questions, etc. is
mailman-us...@mailman3.org


-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Virtualhosts in mailman 3 / postorius

2020-09-25 Thread Mark Sapiro
On 9/25/20 4:41 AM, Brian Carpenter wrote:
> 
> It is possible with the following setting set via settings_local.py:
> 
> filter_vhost = true
> 


That should be

FILTER_VHOST = True

settings_local.py and settings.py are Python so setting something to
`true` rather than `True` will throw a NameError exception and setting
`filter_vhost` rather than `FILTER_VHOST` won't throw any exception, but
will not set the variable being tested.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Virtualhosts in mailman 3 / postorius

2020-09-25 Thread Johannes Rohr
Am 25.09.20 um 13:41 schrieb Brian Carpenter:
> On 9/25/20 6:49 AM, Johannes Rohr wrote:
>> I am now playing around with Mailman 3,  considering to migrate
>> eventually. Reading the documentation, I haven't understood whether
>> there is still a possibility to configure virtual hosts within mailman.
>>
>> My goal is to ensure that visitors ofhttps://lists.domain1.org  only see
>> the lists @lists.domain1.org and not the others, just as the setting
>> VIRTUAL_HOST_OVERVIEW = 1 in /etc/mailman/mm_cfg.py does. I would assume
>> that one can have a similar behaviour in mailman3, can't one?
>
> It is possible with the following setting set via settings_local.py:
>
> filter_vhost = true
>
Great, and apart from that, is the virtualhost configuration obsolete in
mailman3? I noticed that when you create a new list, you already have to
append the domain, so this looks to me as if this is now implicit.

Cheers,

Johannes
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Virtualhosts in mailman 3 / postorius

2020-09-25 Thread Brian Carpenter

On 9/25/20 6:49 AM, Johannes Rohr wrote:

I am now playing around with Mailman 3,  considering to migrate
eventually. Reading the documentation, I haven't understood whether
there is still a possibility to configure virtual hosts within mailman.

My goal is to ensure that visitors ofhttps://lists.domain1.org  only see
the lists @lists.domain1.org and not the others, just as the setting
VIRTUAL_HOST_OVERVIEW = 1 in /etc/mailman/mm_cfg.py does. I would assume
that one can have a similar behaviour in mailman3, can't one?


It is possible with the following setting set via settings_local.py:

filter_vhost = true

--
Brian Carpenter
Harmonylists.com
Emwd.com

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Virtualhosts in mailman 3 / postorius

2020-09-25 Thread Mailman-admin
Hello

Sorry, but you are on the wrong mailinglist.
This ione is for Mailman 2 only.


Kind regards,
Christian Mack

Am 25.09.20 um 12:49 schrieb Johannes Rohr:
> Dear all,
> 
> I am now playing around with Mailman 3,  considering to migrate
> eventually. Reading the documentation, I haven't understood whether
> there is still a possibility to configure virtual hosts within mailman.
> 
> My goal is to ensure that visitors of https://lists.domain1.org only see
> the lists @lists.domain1.org and not the others, just as the setting
> VIRTUAL_HOST_OVERVIEW = 1 in /etc/mailman/mm_cfg.py does. I would assume
> that one can have a similar behaviour in mailman3, can't one?
> 
> Thanks a lot in advance!
> 
> Johannes
> 
> --
> Mailman-Users mailing list -- mailman-users@python.org
> To unsubscribe send an email to mailman-users-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-users.python.org/
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
> https://mail.python.org/archives/list/mailman-users@python.org/
> 
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/