> > Is there any way to prevent postfix from calling mailbox_transport > for an account that is over quota and instead produce a bounce message > notifying the sender of the fact that the mail could not be deliverd? > > If not, is there way to make sure that procmail will not end up bouncing > messages back and forth if both accounts produce bounces? > > Thanks for any input and take care, > Bjoern >
I wrote a polycd-daemon (python) to check quota on cyrus using imap protocol (as cyrus admin user). This policy-daemon search on ldap to check if email is a alias, to get and retrive quota from real user. This program is not complete to public distribution, I wrote on half-hour to a customer. Many options as hard-coded and you need read and understand the code to be usefull for you. http://www.nautilus.com.br/~rei/material/lost+found/policyd-quota -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net