Re: Is it possible to search HTML contents of messages

Subject: Re: Is it possible to search HTML contents of messages

Date: Tue, 03 Sep 2024 22:48:55 +0200

To: David Bremner, Mohsin Kaleem

Cc: notmuch@notmuchmail.org

From: Gregor Zattler


Hi David, Mohsin,
* David Bremner <david@tethera.net> [2024-09-02; 22:12 -03]:
> Mohsin Kaleem <mohkale@kisara.moe> writes:
>> David Bremner <david@tethera.net> writes:
> You can search any header if you index it first. See notmuch-config(1)
> for how to configure extra headers. Received seems like the most likely
> to have what you want. I'm curious how much it bloats the database, but
> I guess compared to all of the attachments people send these days it
> probably is not that bad.

I let notmuch index Received: headers
with this customization:

notmuch config set index.header.Received Received

But this only indexes the topmost
Received: header of every email, which
is uninformative because at least in
case of my mail setup, it always starts
with

Received: from localhost ([127.0.0.1] helo=

which I believe stems from fetchmail
handing the received email over to exim
for delivery.  Notmuch (sic!) of
interest there (besides the time stamp
but the indexing does not help with date
range searches on the received time stamps).

I would be really great if all Received:
headers were indexed.


Regards, Gregor
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: