On 12/16/21 12:25 PM, David Newman wrote:
Can lists set to be viewable on the index page be limited to the virtual domain they are a part of?
Have you set
FILTER_VHOST = True
in your Django settings? This works for HyperKitty and works partially for Postorius. For Postorius, it doesn't work if there are multiple domains with different email hosts which have the visiting host as their web host[1] but works otherwise.
See https://gitlab.com/mailman/postorius/-/merge_requests/500 and https://gitlab.com/mailman/postorius/-/issues/394
In your case, as long as the domains lists.dom1.tld and lists.dom2.tld have different mail hosts, this should work.
[1] An example of what doesn't work in Postorius is the following:
Visit https://lists.example.com/mailman3/lists. If there are 2 domains with web host lists.example.com, one of which has mail host example.com and the other has mail host lists.example.com, all lists will be shown regardless of domain. On the other hand, if all the domains with web host lists.example.com have the same email host, say example.com, then only lists with email host example.com will be shown.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan