[Dovecot] Get the size of a maildir

Nicolas Letellier nicolas at nicoelro.net
Thu Jun 5 12:50:28 EEST 2008


Hello.

I would like to know it a 'proper' solution exist to get the size (in
MB) of a maildir. Actually, to get it, I do a 'du -sh' but I'm not sure
it is a good solution. And it does not return the same value than
imap-quota.

Is there a command, a tool, in Dovecot to get it?

There is the maildirsize but it's very difficult to get the value with
a script shell and with this file.

Thanks for your help.

Best regards,

-- 
 - Nicolas.


More information about the dovecot mailing list