[Mailman-Developers] The Viewing of Private Archives (Hyperkitty)

2020-03-16 Thread Stephen J. Turnbull
brian_carpen...@emwd.com writes:

 > [T]he following message in Hyperkitty should be reworded as it is
 > confusing:
 > 
 > "This mailing list is private. You must be subscribed to view the archives."

Issue https://gitlab.com/mailman/hyperkitty/-/issues/286 filed, with a
suggestion (but I myself think it's inadequate, please discuss).
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] The Viewing of Private Archives (Hyperkitty)

2020-03-16 Thread brian_carpenter
List members (subscribers) who are not verified users of Django/Hyperkitty are 
unable to view private archives, is that correct? If yes then the following 
message in Hyperkitty should be reworded as it is confusing:

"This mailing list is private. You must be subscribed to view the archives. "
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Question regarding Indexting

2020-03-16 Thread Brian Carpenter

On 3/16/20 7:00 PM, Abhilash Raj wrote:

Not sure, custom Xapian files I presume. The format of the fulltext index is 
more or less Opaque. We interact with it only through the Python APIs and the 
folder is mostly under the control of the Xapian library. Or whatever indexing 
library HK is configured to use.


Thank you Abhilash. You have been very helpful today.

--
Please let me know if you need further assistance.

Thank you for your business. We appreciate our clients.
Brian Carpenter
EMWD.com

--
EMWD's Knowledgebase:
https://clientarea.emwd.com/index.php/knowledgebase

EMWD's Community Forums
http://discourse.emwd.com/

___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Question regarding Indexting

2020-03-16 Thread Abhilash Raj



On Mon, Mar 16, 2020, at 2:28 PM, brian_carpen...@emwd.com wrote:
> I have some questions about MM3 Indexing. I am using Xapian as the 
> search engine.
> 
> 1. I first tested it on a small archive of 3 messages:
> 
> /opt/mailman/mm/bin/django-admin update_index_one_list 
> t...@subdomain-lists.com
> 
> It said "Indexing 3 emails". I assume that is good and then it stopped. 
> No success message at all. Is that normal? I reran the above line and 
> it said "Indexing 3 emails again. Is that normal behavior as well?

That is the normal behavior, no error implies success, but a success message 
might be worth adding I suppose.

There are two commands, 
- `update_index`: This is meant for cron job and by default indexes only the 
new emails since the last indexing operation.
- `update_index_one_list`: This is meant for manual run after you import 
archives a list to Hyperkitty and indexes all the emails.

The calls to `update_index_one_list` are sort of idempotent and will do the 
same operation every time. Hence the output is same each time you run it.

The calls to `update_index` depends on the number of new emails received since 
last run.

> 
> 2. In the fulltext_index folder is a lot of .seg files and other file 
> types as well such as .glass. What are these files/folders in the 
> fulltext_index folder?
> 

Not sure, custom Xapian files I presume. The format of the fulltext index is 
more or less Opaque. We interact with it only through the Python APIs and the 
folder is mostly under the control of the Xapian library. Or whatever indexing 
library HK is configured to use.

> Sorry for these questions. I am trying to learn some of the additional 
> features of Mailman and am looking in detail at the search indexing. I 
> have a client who is bringing over a large mbox file of archives dating 
> back to 2006.
> 
> Thanks,
> Brian
> ___
> Mailman-Developers mailing list -- mailman-developers@python.org
> To unsubscribe send an email to mailman-developers-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> Mailman FAQ: https://wiki.list.org/x/AgA3
> 
> Security Policy: https://wiki.list.org/x/QIA9
>

-- 
  thanks,
  Abhilash Raj (maxking)
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Question regarding Indexting

2020-03-16 Thread brian_carpenter
I have some questions about MM3 Indexing. I am using Xapian as the search 
engine.

1. I first tested it on a small archive of 3 messages:

/opt/mailman/mm/bin/django-admin update_index_one_list t...@subdomain-lists.com

It said "Indexing 3 emails". I assume that is good and then it stopped. No 
success message at all. Is that normal? I reran the above line and it said 
"Indexing 3 emails again. Is that normal behavior as well?

2. In the fulltext_index folder is a lot of .seg files and other file types as 
well such as .glass. What are these files/folders in the fulltext_index folder?

Sorry for these questions. I am trying to learn some of the additional features 
of Mailman and am looking in detail at the search indexing. I have a client who 
is bringing over a large mbox file of archives dating back to 2006.

Thanks,
Brian
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Some questions for the Domains page

2020-03-16 Thread Abhilash Raj
On Mon, Mar 16, 2020, at 11:19 AM, brian_carpen...@emwd.com wrote:
> I have some questions for the Domains page of Postorius.
> 
> 1. What intended audience is this page for? The server owner?

Yes, server owner a.k.a Super User in Django.

> 2. This brings up a follow up question. We have list owners, list 
> members, and list users. What is the title for the superuser account 
> that has the permissions to add/remove domains via Postorius?

In terms of Core, we have:
- Site (Server) Owner (full management capability, Superuser in Django)
- Domain Owner (management of domain and all underlying lists, not implemented 
at all in Postorius)
- List owner (Access to List settings, List Owner in Postorius)

Domain owner permissions are not implemented in Postorius, so for now, only 
Superusers are able to manage even domain related settings.

List of domains is also something not publicly visible AFAIK to non-superusers. 

> 3. What scenario would make someone want to add a description for a Domain?

For server owner to keep track of them, just like Mailinglist's have small 
description.

> 
> 4. Since templates can be added on a per domain basis, does that mean 
> that domain template is applied to any list that is created under that 
> domain name? Does it override list templates?

More specific targets override less specific ones. The order is:

- Site (server)
- Domain
- List

The details of this are documented here: 
https://mailman.readthedocs.io/en/latest/build/lib/mailman/rest/docs/templates.html#template-contexts


> 
> 5. What is the purpose to have multiple owners for Domains? Does this 
> allow a list owner to access the domains page and edit/create templates 
> for their list domain?

Ideally, yes. As I mentioned above, this hasn't been implemented in Postorius 
to give full access to the domain owners to allow them to edit/create 
templates. There aren't any domain level settings just yet, but it would be the 
place for it.

> 
> Thanks,
> Brian
> ___
> Mailman-Developers mailing list -- mailman-developers@python.org
> To unsubscribe send an email to mailman-developers-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> Mailman FAQ: https://wiki.list.org/x/AgA3
> 
> Security Policy: https://wiki.list.org/x/QIA9
>

-- 
  thanks,
  Abhilash Raj (maxking)
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Some questions for the Domains page

2020-03-16 Thread brian_carpenter
I have some questions for the Domains page of Postorius.

1. What intended audience is this page for? The server owner?

2. This brings up a follow up question. We have list owners, list members, and 
list users. What is the title for the superuser account that has the 
permissions to add/remove domains via Postorius?

3. What scenario would make someone want to add a description for a Domain? 

4. Since templates can be added on a per domain basis, does that mean that 
domain template is applied to any list that is created under that domain name? 
Does it override list templates?

5. What is the purpose to have multiple owners for Domains? Does this allow a 
list owner to access the domains page and edit/create templates for their list 
domain?

Thanks,
Brian
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9