The following bug has been ACKNOWLEDGED. ====================================================================== http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000113 ====================================================================== Reported By: aaron Assigned To: ====================================================================== Project: DBMail Bug ID: 113 Category: Database layer Reproducibility: always Severity: feature Priority: normal Status: acknowledged ====================================================================== Date Submitted: 02-Nov-04 00:58 CET Last Modified: 16-Nov-04 22:05 CET ====================================================================== Summary: IMAP Search should parse only headers and retrieve only potential matches Description: Mikhail Ramendik said:
> Currently, the code uses db_fetch_headers() for every message in the > search cycle. Despite the name, this function actually parses the entire > message, multipart boundaries and all. (Misleading function names are > possibly the worst thing about this code...) > > But, for header field searches, one could do with only parsing the main > header. This action is already available in the current code, as > db_get_main_header(); but it is only used for IMAP FETCH. In combination with a query that asks the database to only return potential matches, this should make search much, much faster. I'm going to file it as a bug so that we make sure to get this into 2.0.x ASAP. ====================================================================== Bug History Date Modified Username Field Change ====================================================================== 02-Nov-04 00:58aaron New Bug 02-Nov-04 00:59aaron Description Updated 02-Nov-04 00:59aaron Assigned To => aaron 02-Nov-04 00:59aaron Status new => assigned 16-Nov-04 07:12aaron Assigned To aaron => 16-Nov-04 22:05aaron Status assigned => acknowledged ======================================================================