On 30/11/2008 19:37 Timo Sirainen wrote:
On Sun, 2008-11-30 at 17:58 -0500, Kari Suomela (DC) wrote:
I have managed to get the master quota working, but cannot get individual user quota to do anything.
Here is a line from /etc/dovecot/passwd: kari@karico.ca:XXXXXXXXX:502:502::/var/mail/vhosts/karico.ca/kari::userdb_quota_rule=*:bytes=600M
Anyway looks correct. Set mail_debug=yes and auth_debug=yes to see if quota_rule gets transferred correctly to imap process.
I do not see anything about the passwd file line being read:
dovecot: Nov 30 21:55:13 Info: imap-login: Login: user=kari@karico.ca, method=PLAIN, rip=209.222.57.22, lip=209.222.57.19, TLS dovecot: Nov 30 21:55:13 Info: IMAP(kari@karico.ca): Loading modules from directory: /usr/lib/dovecot/imap dovecot: Nov 30 21:55:13 Info: IMAP(kari@karico.ca): Module loaded: /usr/lib/dovecot/imap/lib10_quota_plugin.so dovecot: Nov 30 21:55:13 Info: IMAP(kari@karico.ca): Module loaded: /usr/lib/dovecot/imap/lib11_imap_quota_plugin.so dovecot: Nov 30 21:55:13 Info: IMAP(kari@karico.ca): Effective uid=502, gid=502, home=/var/mail/vhosts/karico.ca/kari dovecot: Nov 30 21:55:13 Info: IMAP(kari@karico.ca): Quota root: name=User quota backend=maildir args= dovecot: Nov 30 21:55:13 Info: IMAP(kari@karico.ca): Quota rule: root=User quota mailbox=* bytes=1073741824 (0%) messages=0 (0%) dovecot: Nov 30 21:55:13 Info: IMAP(kari@karico.ca): Quota rule: root=User quota mailbox=Trash bytes=214748364 (20%) messages=0 (0%) dovecot: Nov 30 21:55:13 Info: IMAP(kari@karico.ca): Quota rule: root=User quota mailbox=Spam bytes=322122547 (30%) messages=0 (0%) dovecot: Nov 30 21:55:13 Info: IMAP(kari@karico.ca): Quota warning: bytes=1020054732 (95%) messages=0 (0%) command=/usr/local/bin/quota-warning.sh 95 dovecot: Nov 30 21:55:13 Info: IMAP(kari@karico.ca): Quota warning: bytes=751619276 (70%) messages=0 (0%) command=/usr/local/bin/quota-warning.sh 70 dovecot: Nov 30 21:55:13 Info: IMAP(kari@karico.ca): maildir: data=~/Maildir dovecot: Nov 30 21:55:13 Info: IMAP(kari@karico.ca): maildir++: root=/var/mail/vhosts/karico.ca/kari/Maildir, index=, control=, inbox=/var/mail/vhosts/karico.ca/kari/Maildir dovecot: Nov 30 21:55:13 Info: IMAP(kari@karico.ca): Disconnected: Logged out bytes=39/132