Aaron Stone wrote:

""[EMAIL PROTECTED]"" <[EMAIL PROTECTED]> said:


Just want to add my take on this subject. It's related to the IMAP access control but more in a global way and not on a per-user basis.

It would be real nice if there was a way to disable IMAP search capability within dbmail using a config line in dbmail.conf.

[snip]
 >
Sounds reasonable. But if we're going to start partitioning off features,
we should adopt some rationale about how we do it. What if someone wanted
to allow SEARCH, but only header searches? That would involve checking
configs fairly deep down in the imap parser, which is already a cobweb of
hackery. Even if we replaced the imap parser with something more easily
worked on, would we even want to allow for disabling such minutiae?

[snip]

Is there really a gain for this feature?

The IMAP client has to make a search,
preferably on the server.
If the server lacks these capabilities will the client back off and download all messages and do the search itself. We actually do not gain anything, the database must in these cases serve the content of all the messages down to the client. This is as expensive as doing a linear search in the database.

Magnus

Reply via email to