Re: quota check befor sieve script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

I understand your concern, but the problem is that by definition, if a 
Sieve script fails, the message MUST be delivered to the intended 
mailbox.  However, if the mailbox is over quota, we can't do this.  The 
simplest way to handle the situation is to do the quota check before 
processing the script, regardless of the final disposition.

If you want to look at the code and find a better way, I'll be happy to 
look at a patch.


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University
----
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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux