Re: [Dovecot] Problem with Quotas

2008-01-20 Thread Timo Sirainen
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.


signature.asc
Description: This is a digitally signed message part


[Dovecot] Problem with Quotas

2008-01-17 Thread Ranjith Kumar
Hi,

I am using dovecot 1.0.10 and using passwd-file as userdb. 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

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?


Thanks,

Ranjith