On Jan 29, 2008 9:06 AM, Michael Menge <michael.menge@xxxxxxxxxxxxxxxxxxxx> wrote: > Hi, > > i don't know if this is a bug or a feature, but it seems that lmtpd > checks quota befor a e-mail is parsed by the sieve script. This causes > over quota bounces for > messages that would have been discarded or redirected. > > Is there a way to only send the over quota bounces if the message hits > a keep, fileinto or implicite keep action or to accept the email if it > hits a forward or discarde action and to ignore the keep and fileinto > actions in case of overquota? Sieve script need often mail header data to make its check. This means the mail was already accepted by LMTP when sieve script run. This means probably "no" to your question. Anyway your question is not without interest, but add such a feature add some problemes like what to do at each retry of the SMTP ? Run the same sieve script again and again on the same piece of mail until the quota let it in? Regards. > > regards > > Michael Menge > > -------------------------------------------------------------------------------- > M.Menge Tel.: (49) 7071/29-70316 > Universitaet Tuebingen Fax.: (49) 7071/29-5912 > Zentrum fuer Datenverarbeitung mail: > michael.menge@xxxxxxxxxxxxxxxxxxxx > Waechterstrasse 76 > 72074 Tuebingen > > ---- > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html > -- Alain Spineux aspineux gmail com May the sources be with you ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html