per-user quotas

Andrew Morgan morgan at orst.edu
Tue Mar 13 13:20:20 EST 2007


On Tue, 13 Mar 2007, Philippe Trolliet wrote:

> Hi,
> in the log i see following message:
> ...
> Mar 13 12:17:41 mail lmtpunix[10500]:
> verify_user(novaware.de!user.p^trolliet) failed: Over quota
> Mar 13 12:17:41 mail postfix/pipe[10689]: E644F5E44F9:
> to=3D<p.trolliet at novaware.de>, relay=3Dcyrus, delay=3D1, status=3Ddeferred
> (temporary failure)
> ...
> in one of the mailinglist archives i read sth about the error codes. my
> problem is that the message is not bounced and so the sender is not
> notified. it is stuck somewhere in the postfix-queue.
> i have virtual users and domains and i=B4m using per-user quotas stored in
> a mysql-db. i can set the quota for every single user.
>
> what do i have to configure that cyrus bounces the message over the lmtp
> if a quota exceeds? in the archives somebody said sth about the error
> codes too. how can i do this in the cyrus configuration?

In /etc/imapd.conf:

lmtp_over_quota_perm_failure: 1

> is there any way to tell cyrus to read the per-user quota settings from
> the mysql-db like in dovecot? or is this just done in postfix?

Cyrus stores quotas in its own quota files.  I'm not aware of any way to =

read a quota from mysql.

 	Andy


More information about the Info-cyrus mailing list