[Dovecot] Re: Bug#224092: Dovecot IMAP: detection of folders

Charlie Brady charlieb-dovecot at e-smith.com
Sat Dec 20 18:11:45 EET 2003


On Sat, 20 Dec 2003, Jeroen van Disseldorp wrote:

> On Saturday 20 December 2003 04:40, Timo Sirainen wrote:
> > If I did add special check for ".imap", it would mean that you
> > couldn't create a root folder called "imap" which I think some people
> > might actually do.
> 
> I understand. However, making a simple check for being a file or 
> directory wouldn't harm anyone.

It would cost a stat per file/directory, which Timo has tried to avoid
(for performance reasons, AIUI). Are folders enumerated often enough and
the cost high enough that it is an important optimisation?

--
Charlie




More information about the dovecot mailing list