Hello! This might be an easy question, but here it goes: how can I know the quota of an determined user? I'm trying to use maildir quota... Regards, Rodrigo. -- M. Rodrigo Monteiro falecom at rodrigomonteiro.net "Free as in Freedom, not free as in free beer" Linux User # 403730
On Wed, 2008-07-23 at 10:58 -0300, M. Rodrigo Monteiro wrote:> Hello! > > This might be an easy question, but here it goes: how can I know the > quota of an determined user? > I'm trying to use maildir quota...Log in as the user (http://wiki.dovecot.org/Authentication/MasterUsers may help) and issue the command to get the quota: 1 GETQUOTAROOT INBOX If all your users have the same uid and gid, you can also use: export HOME=/home/wanted-user echo "1 getquotaroot inbox" | dovecot --exec-mail imap -------------- 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/20080724/ca2d80ab/attachment-0002.bin>
Hello. 2008/7/23 Timo Sirainen <tss at iki.fi>:> If all your users have the same uid and gid, you can also use: > > export HOME=/home/wanted-user > echo "1 getquotaroot inbox" | dovecot --exec-mail imap >Great, the reply is: * QUOTAROOT "inbox" "" * QUOTA "" (STORAGE 0 1048576) 1 OK Getquotaroot completed. 1GB as in my dovecot.conf (using maildir). I'm retreiving the users from OpenLDAP. There is no field for the quota per user ou domain. How is the better way for me to do that? Create and field in OpenLDAP (Jamm schema) or use the quota dict? Regards, Rodrigo. -- M. Rodrigo Monteiro falecom at rodrigomonteiro.net "Free as in Freedom, not free as in free beer" Linux User # 403730