Hello all, My system is set up to have quotas both on /var/mail, where emails are received, and on /export/home, where users' homedirs are. But the client (Thunderbird) shows the same /export/home values both for the Inbox and for the folders in the homedir, so a user cannot know where she stands on her /var/mail use. This is Dovecot 1.1.5. As per the wiki, the dovecot.conf file contains this: quota = fs:INBOX:mount=/var/mail quota2 = fs:Others:mount=/export/home A sample user: # quota -v testimap Disk quotas for testimap (uid 1143): Filesystem usage quota limit timeleft files quota limit timeleft /export/home 6490 10000 15000 0 0 0 /var/mail 0 20000 25000 0 0 0 When Icheck the Quota tab in the Properties of the Inbox, the field contains "Others", and the value are 6490 out of 10000. Any idea why this doesn't display the value of /var/mail? Laurent -- / Leader de Projet & Communaut? | I'm working, but not speaking for \ G11N http://fr.opensolaris.org | Bull Services http://www.bull.com / FOSUG http://guses.org |
On Fri, 2008-10-31 at 10:45 +0100, Laurent Blume wrote:> Hello all, > > My system is set up to have quotas both on /var/mail, where emails are > received, and on /export/home, where users' homedirs are. > But the client (Thunderbird) shows the same /export/home values both for > the Inbox and for the folders in the homedir, so a user cannot know > where she stands on her /var/mail use.First of all see if the problem is with Thunderbird or Dovecot. Ask the quota values directly from Dovecot: telnet localhost 143 a login user pass b getquotaroot inbox c getquotaroot some-other-box If b/c didn't return correct values, try also: d getquota INBOX e getquota Others -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20081031/b3eddde5/attachment-0002.bin>
Timo Sirainen a ?crit :> First of all see if the problem is with Thunderbird or Dovecot. Ask the > quota values directly from Dovecot: > > telnet localhost 143 > a login user pass > b getquotaroot inbox > c getquotaroot some-other-box > > If b/c didn't return correct values, try also: > > d getquota INBOX > e getquota OthersI'm not sure if this is good. It does answer the correct values, but when asking the quota, returns all of them, even when asking for a single folder. Well, see for yourself: 1 OK Logged in. 2 getquotaroot inbox * QUOTAROOT "inbox" "INBOX" "Others" * QUOTA "INBOX" (STORAGE 0 20000) * QUOTA "Others" (STORAGE 6490 10000) 2 OK Getquotaroot completed. 3 getquotaroot Trash * QUOTAROOT "Trash" "INBOX" "Others" * QUOTA "INBOX" (STORAGE 0 20000) * QUOTA "Others" (STORAGE 6490 10000) 3 OK Getquotaroot completed. 4 getquota INBOX * QUOTA "INBOX" (STORAGE 0 20000) 4 OK Getquota completed. 5 getquota Others * QUOTA "Others" (STORAGE 6490 10000) 5 OK Getquota completed. 6 logout * BYE Logging out 6 OK Logout completed. Of course, I snooped the packets to see what Thunderbird is doing: it's exactly the same as above, it does a quotaroot on each folder, it doesn't do a getquota. It seems to only use the last line received, which is always the one for Others.>From what I read in the RFC, it seems to be a bug in Dovecot, it shouldreply only for the given mailbox, am I right? Laurent -- / Leader de Projet & Communaut? | I'm working, but not speaking for \ G11N http://fr.opensolaris.org | Bull Services http://www.bull.com / FOSUG http://guses.org |