[Dovecot] nfs and pop3
grant beattie
grant at grunta.com
Fri Jan 27 06:28:17 EET 2006
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.
grant.
More information about the dovecot
mailing list