Well, I just put it in Postfix, like it is said in Dovecot Wiki: mailbox_command = /usr/libexec/dovecot/deliver
because I do use system users for postfix too, I have no virtual users. deliver -d in postfix is only for virtual users, which I can't use. Is there another way?
--- En date de : Ven 2.7.10, Timo Sirainen <tss@iki.fi> a écrit :
De: Timo Sirainen <tss@iki.fi> Objet: Re: [Dovecot] Per-user quotas aren't working À: "Guillaume CHARREYRON" <gcharreyron@yahoo.fr> Cc: dovecot@dovecot.org Date: Vendredi 2 juillet 2010, 14h28 On Fri, 2010-07-02 at 12:18 +0000, Guillaume CHARREYRON wrote:
dovecot: Jul 02 12:55:32 Info: auth(default): master out: USER 1 test-oper uid=501 gid=501 home=/home/test-oper quota_rule=*:bytes=20M
Looks ok. The user should have 20 MB quota.
dovecot: Jul 02 12:55:32 Info: pop3-login: Login: user=<test-oper>, method=PLAIN, rip=192.168.4.239, lip=192.168.4.239, secured deliver(test-oper): Jul 02 12:55:47 Info: msgid=<11c5.0003.0000@test.mymail.srv>: save failed to INBOX: Quota exceeded (mailbox for user is full)
Looks like you're not calling deliver with -d parameter? Then it's not doing userdb lookup.