On 11/9/24 06:52, Odhiambo Washington via Mailman-users wrote:

I looked at Django Admin and Postorius and I see all my MLs in both.

What you see in Django admin is in the HYPERKITTY section and corresponds to hyperkitty_* tables in the mailmanweb database.

What I am sure about is that I did NOT create my MLs using Django admin UI.
I either created them using the CLI or Postorius.
Having said that, I did run two tests:
1. Create a ML in Postorius and check whether it appears in Django admin -
The list was visible in Django Admin

Because the list you created had the hyperkitty archiver enabled.


2. Create a ML in Django admin and check whether it appears in Postorius -
The list was NOT visible in Postrorius

Because it's only in HyperKitty.

3. Create a ML in CLI and check if it appears in both Django admin and
Postorius - List is visible in Postorius, but not in Django admin


Becayse this list did not have the hyperkitty archiver enabled.


```
MariaDB [mailmansuite]> select list_name, list_id from mailinglist where
list_name like 'ulf%';
+-----------+-------------------------------+
| list_name | list_id                       |
+-----------+-------------------------------+
| ulftest2  | ulftest2.lists.kictanet.or.ke |
| ulftest3  | ulftest3.lists.kictanet.or.ke |
+-----------+-------------------------------+
```


These are only Mailman lists.

The list that I created using Django admin is NOT listed here!

Because it's only in HyperKitty.


```
MariaDB [mailmansuite]> select list_id, name from hyperkitty_mailinglist
  where list_id like 'ulf%';
+-------------------------------+-------------------------------+
| list_id                       | name                          |
+-------------------------------+-------------------------------+
| ulfte...@lists.kictanet.or.ke | ulfte...@lists.kictanet.or.ke |
| ulftest2.lists.kictanet.or.ke | ulfte...@lists.kictanet.or.ke |
+-------------------------------+-------------------------------+
```
The list I created using Django admin and the one I created using
Postorius are both listed, but the one I created from CLI is not listed.


Because for some reason, the CLI created list does not create the HyperKitty archive until there is a post or until the `new_lists_from_mailman` job runs even though hyperkitty is enabled.

So there must be some logic behind this. However, I don't know what it is.

The bottom line is you can have lists in HyperKitty that are not in Mailman and vice versa. The only thing you can't do is create a list in HyperKitty via the HyperKitty web UI, but you can use hyperkitty_import to import a mbox for a list which is not in Mailman and will be only in HyperKitty.

Also, while you can create a list in Mailman that isn't in HyperKitty, if the list has hyperkitty enabled it will be created in HyperKitty when the `new_lists_from_mailman` job runs.

--
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/BG5CQLYZZA53AZDQRZIQZ5YAEZTU5HO3/

This message sent to arch...@mail-archive.com

Reply via email to