[Dovecot] Message size incorrect?

Tristan Woudenberg - Prism Mail Solutions tristan at prism.nl
Tue Jan 16 20:48:29 UTC 2007


On Tue, January 16, 2007 19:49, Timo Sirainen wrote:
> On Tue, 2007-01-16 at 19:17 +0100, Tristan Woudenberg - Prism Mail
> Solutions wrote:
>> On Tue, January 16, 2007 16:39, Timo Sirainen wrote:
>> > On Tue, 2007-01-16 at 11:00 +0100, Tristan Woudenberg - Prism Mail
>> > Solutions wrote:
>> >> There is quite a discrepancy in the rfc822.size reported by Dovecot
>> and
>> >> the actual space it takes up on my harddisk. I know there could be
>> some
>> >> overhead here from all the dovecot* and subscription list files in my
>> >> imap
>> >> folders, but like I stated in my email to the SquirrelMail plugin
>> >> mailing
>> >> list, about 1mb for a 4.3mb maildir mailbox might be a but much.
>> >
>> > RFC822.SIZE reports message's "virtual size" as it is sent to IMAP
>> > clients, which means that if the maildir files contain LF-only
>> linefeeds
>> > (which is usually the case), the RFC822.SIZE increases the size by the
>> > number of lines in the file (so each line ends with CRLF).
>> >
>> > That however only increases the size reported by the Squirrelmail
>> > plugin. I don't know why it would report 1 MB less.
>> >
>> > How does Squirrelmail plugin's INBOX usage compare with "du -sh cur
>> > new"? Do you have any files in tmp/ directories? Currently Dovecot
>> never
>> > cleans up the tmp/ directory. I guess I should add the code for that..
>>
>> I already posted this on the Squirrelmail list, but the folder sizes
>> plugin outputs this:
>
> Yea, I noticed that. But what about "du -sh cur new", and what about
> files in tmp? I'm guessing you've some leftover files in tmp.

Nope sorry:

du -sh cur new
4.1M    cur
12K     new

tmp is completely empty.

Regards,

Tristan


-- 
Prism Mail Solutions
Deployment, customization and hosting
http://prism.nl



More information about the dovecot mailing list