Aaron Stone wrote:

I agree 100%. It would never occur to me to use a header search to find,
for example, a message that was included in a mailing list digest.

OK. I'll try to make a patch quickly.

Also, I was thinking about the REGEXP idea with respect to parsing only a
subset of headers. REGEXP isn't universally support; we would need to do a
hack similar to the date function hack, where the db.c uses an external
symbol that is defined by the database shim as needed for that database.
It works well, but I wonder if it wouldn't be easier to just do this:

SELECT * FROM messageblks WHERE messageblk LIKE
'%From:[EMAIL PROTECTED]';

The problem is, before we have is_header, this might be longer than a read-parse loop, if that loop only reads the headers.

Yours, Mikhail Ramendik

Reply via email to