per-user quotas

Michael Menge michael.menge at zdv.uni-tuebingen.de
Wed Mar 14 02:23:22 EST 2007


Quoting Philippe Trolliet <p.trolliet at novatec-gmbh.de>:

> 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=<p.trolliet at novaware.de>, relay=cyrus, delay=1, status=deferred
> (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´m 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?
>

postfix will also bounce the messages on temporary failure if it could  
not delive the message for some time (maximal_queue_lifetime default:  
5d)


> 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?
>
>

you could write an perl-script which reads the data form the mysql-db  
and sets the quota in cyrus




--------------------------------------------------------------------------------
M.Menge                                 Tel.: (49) 7071/29-70316
Universitaet Tuebingen                  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung          mail:  
michael.menge at zdv.uni-tuebingen.de
Waechterstrasse 76
72074 Tuebingen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5469 bytes
Desc: S/MIME krytographische Unterschrift
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20070314/6e7c9a85/smime-0001.bin


More information about the Info-cyrus mailing list