Hi Franklin,
On Sat, Aug 26, 2023 at 04:59:04PM +0800, Franklin Weng wrote:
I had a blog article describing how I did it. Maybe there were something you find it ridiculous, but they are all what I found important and may not be shown in the current documents.
Having been through this process with Debian 11 last year, in addition to several of your discoveries, I found that the default Whoosh full text indexer was just not usable. It is ridiculously slow and memory-hungry, and used 6+ gigabytes of RAM and days of CPU time to try to index some of my Mailman 2 mboxes.
I should think almost everyone will want to switch to Xapian instead. That is accomplished on Debian with:
# apt install libxapian30 python3-xapian python3-xapian-haystack
and then in mailman-web.py:
HAYSTACK_CONNECTIONS = { 'default': { 'ENGINE': 'xapian_backend.XapianEngine', 'PATH': '/var/lib/mailman3/web/fulltext_xapian_index', }, }
As far as I understand Xapian is not the default because although Xapian has an open source license, it is one that's not compatible with Mailman's GPL3 license.
At the time I installed, Debian 12 had not yet been released, and I won't upgrade that host until necessary, but I personally would not do a new install on Debian 11 so I would want to resolve the problems you had with Mailman 3 on Debian 12.
Cheers, Andy
-- https://bitfolk.com/ -- No-nonsense VPS hosting