Hello all, It seems that if you do a TEXT search in DBMail, then it only searches headers. The RFC says that it is supposed to search both headers and the body. One can see this fairly easily with the following email:
Date: <put date here> Subject: hello there To: <yourself> From: [EMAIL PROTECTED] The quick brown fox jumped over the lazy sleeping dog. Create a new mailbox in DBMail, and then insert this email into that mailbox so that this email is the only mail in the new mailbox. Now do a TEXT search on that mailbox for the string "lazy". (In IMAP, that would be 'SEARCH TEXT "lazy"'.) You should get this message back in the resulting message list, but you don't. Looking at the latest version of the code from git, one can see the query string to search the headers at around line 1443 of dbmail-mailbox.c. But then there is no corresponding search involving the body of the message before the "break;" line. Hence, the search stops after just looking through the headers. John Guthrie [EMAIL PROTECTED] _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
