Le Thu, 5 Jun 2008 13:32:59 +0300, Timo Sirainen <[EMAIL PROTECTED]> a écrit :
> On Jun 5, 2008, at 1:25 PM, Nicolas Letellier wrote: > > >> printf "1 getquotaroot inbox\n" | dovecot --exec-mail imap > >> > >> (or depending on your settings change $USER, $HOME or use netcat > >> and master user login) > >> > > Thanks for the response. It seems to be a good solution! But I don't > > know how use this tool. My mailboxes are in : > > /var/mail/vmails/domain.tld/username > > And you use a single UID to access them? > > > How know the size of [EMAIL PROTECTED] with dovecot -exec-mail > > imap? > > > See if this works (run as the same system user as mailboxes are > normally accessed with): > > export [EMAIL PROTECTED] > printf "1 getquotaroot inbox\n" | dovecot --exec-mail imap > > If not, post your dovecot -n output. It works perfectly. I made a shell script to get maildirsize, it's ok. Thanks for the tip :-) -- - Nicolas.
