[Dovecot] nfs and pop3

Timo Sirainen tss at iki.fi
Fri Jan 27 17:45:27 EET 2006


On Fri, 2006-01-27 at 15:28 +1100, grant beattie wrote:
> On Thu, Jan 26, 2006 at 09:56:27PM +0200, Timo Sirainen wrote:
> 
> > The difference is that with Dovecot LIST command is returning the
> > messages' exact size with CR+LF linefeeds. I didn't actually know that
> > this wasn't required with POP3.
> > 
> > Now, the simplest fix in your case would be to just make Dovecot return
> > the message's physical size with stat(). But I'm not sure if this is a
> > good default behavior. The physical size isn't used by IMAP, so if the
> > mailbox has both POP3 and IMAP access, it needs to store both physical
> > and virtual sizes to cache file..
> 
> ah, excellent!
> 
> I suppose this would also make it possible to read the S=<size> part
> of maildir filenames by simply reading the directory, rather than
> stat()ing all the files?
> 
> I expect this would siginificantly reduce disk IO.

Yes, it already uses S= from filename if it's there.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060127/3c73ec16/attachment.pgp


More information about the dovecot mailing list