[Dovecot] Problem with Quotas

Timo Sirainen tss at iki.fi
Sun Jan 20 14:24:02 EET 2008


On Thu, 2008-01-17 at 19:57 +0530, Ranjith Kumar wrote:
> I am using dovecot 1.0.10 and using passwd-file as userdb. 

"passwd-file" or "passwd"? Only passwd-file works.

> I have
> enabled quota plugin in /etc/dovecot.conf.
> Extra fields are added into userdb.
> 
> user1:X:500:500:User1:/home/user1:/bin/bash:userdb_quota=maildir:storage=1024

Looks ok. Although the /bin/bash makes it look like you're
using /etc/passwd. It's not necessarily a great idea to use it as a
passwd-file.

> Location of the inbox is /var/spool/mail/user1
> 
> I dont think this is working. The user already have 5MB in INBOX and
> if I send a new mail, it is being delivered.
> 
> Do I need to change any settings?

Did you add mail_plugins = quota to protocol lda {}?

Setting mail_debug=yes will log if it loads the quota plugin or not.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080120/749bdad8/attachment.bin 


More information about the dovecot mailing list