[Dovecot] Problem with Quotas
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
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.
participants (2)
-
Ranjith Kumar
-
Timo Sirainen