[dovecot] Re: Mbox spool; dovecot rewriting and rewriting and rewriting

Ask Bjoern Hansen ask at develooper.com
Tue Apr 8 01:38:13 EEST 2003


On Mon, 7 Apr 2003, Timo Sirainen wrote:

> On Mon, 2003-04-07 at 20:47, Ask Bjoern Hansen wrote:
> > I use the OS X Mail.app client.    I tested it with a test account
> > with no problems, but trying to use it with my usual mail folders
> > (~1.3GB; 120MB in the inbox) it's not working at all.
> >
> > It seems like dovecot keeps copying the full inbox into a temp file
> > in mail/.imap/INBOX.  It did it at least 10 times while I was
> > watching without any noticable progress doing anything at all in
> > Mail.app.
>
> That sounds like Mail.app is creating new custom flags. What does
> X-IMAPbase header look like in the first mail?

Ah, yes.  It keep track of the "Junk" status.

X-IMAPbase: 1049736224 0 NotJunk Junk

> Anyway, rewriting isn't too well optimized yet. It's a bit better in CVS
> now and I think I could make it a bit more better for the next release
> (which might be good enough for most), but "optimal" rewriting requires
> a bit larger changes.

So for every mail read it rewrites the 120MB file?  Ouch.  No wonder
it's a bit slow. ;-)



 - ask

-- 
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();



More information about the dovecot mailing list