I looked through the wiki and the archives, but couldn't find an answer to this question. We use a webmail product that uses three dummy mbox dotfiles for storing configuration and temporary info. I'm trying to find a way to have dovecot's indexing ignore all dotfiles, and so far have had no luck (other than, of course, coding it in myself). Does anyone know if this is possible? Thanks. -Brian Hayden
On Tue, 2006-08-22 at 18:31 -0500, B H wrote:> I looked through the wiki and the archives, but couldn't find an answer > to this question. > > We use a webmail product that uses three dummy mbox dotfiles for storing > configuration and temporary info. I'm trying to find a way to have > dovecot's indexing ignore all dotfiles, and so far have had no luck > (other than, of course, coding it in myself). > > Does anyone know if this is possible? Thanks.Not really, but what's the harm in doing that except wasting maybe 10kB of disk space? Or do you mean something else by "indexing", such as not listing those files to clients at all as mailboxes? This perhaps should be configurable, some day... -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060823/6d71d8ba/attachment.bin>
Timo Sirainen wrote:> On Tue, 2006-08-22 at 18:31 -0500, B H wrote: >> I looked through the wiki and the archives, but couldn't find an answer >> to this question. >> >> We use a webmail product that uses three dummy mbox dotfiles for storing >> configuration and temporary info. I'm trying to find a way to have >> dovecot's indexing ignore all dotfiles, and so far have had no luck >> (other than, of course, coding it in myself). >> >> Does anyone know if this is possible? Thanks. > > Not really, but what's the harm in doing that except wasting maybe 10kB > of disk space?First, thanks for replying! One of these dummy mboxes is used to autosave in-progress drafts. It changes frequently, and Dovecot often tries to stat the index file for it when no such index file exists. This throws an error to the console, and happens frequently enough to render the console pretty much useless (real errors get lost) under a full user load. I was hoping to just exempt dotfiles from indexing altogether, so as not to have to add workarounds to the app. The operation needs to be low-overhead and isn't considered critical, just "a useful addition", so it wasn't designed to do the same kind of gentle handling and error-checking you'd do with a real mailbox. -Brian
Reasonably Related Threads
- Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1
- Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1 (fwd)
- Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1 (fwd)
- Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1 (fwd)
- Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1