On 12/5/24 04:25, Bryan Fields wrote:
I've been working with a rather large import and am finding that I can't seem to get the search on a Message-ID: to return anything. ... Any ideas how to get it indexing the ID so a layperson can search on it?
Message-ID is not one of the fields indexed. These are defined at https://gitlab.com/mailman/hyperkitty/-/blob/master/hyperkitty/search_indexe...
A bit obscure for laypersons, but one can compute the message_id_hash from the Message-ID
from base64 import b32encode
from hashlib import sha1
def get_message_id_hash(msg_id):
return b32encode(sha1(msg_id).digest()).decode()
I can't help but wonder though how one has the Message-ID without having the message. I'm wondering in general how often if ever the layperson would be searching the archive for a Message-ID.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan