Sieve redirect seems to stop script processing?

Scott M. Likens damm at yazzy.org
Tue Nov 13 16:50:40 EST 2007


*smack Ingo*

That's horrid...

require "fileinto";
if header :comparator "i;ascii-casemap" :contains "X-Spam-Flag" "YES"  {
    fileinto "INBOX.Spam";

}
else
{
       fileinto "INBOX";}


I don't know what if true { is for... as that really doesn't make sense 
for me.  But for the other portion of it.

Scott

Davin Flatten wrote:
> Hello-
>
> We are using Horde/Ingo against a Cyrus murder with three backend
> servers.  When a user redirects there email the system generates the
> following script:
>
> ##INGO
> # sieve filter generated by Ingo (November 13, 2007, 10:08 am)
>
> require "fileinto";
>
> # Forwards
> if true {
>     redirect "theuser at gmail.com";
> }
>
> # Spam Filter
> if header :comparator "i;ascii-casemap" :contains "X-Spam-Flag" "YES"  {
>     fileinto "INBOX.Spam";
>     stop;
> }
>
> It seems that the script stops processing at the redirect action and
> does not continue to the Spam filter.  Is this normal behavior of the
> implied keep?
>
> Thanks!
> Davin Flatten
> Systems Administrator
> Engineering Computer Services
> University of Massachusetts
> ----
> 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
>
>
> !DSPAM:473a181285876444210739!
>
>
>   



More information about the Info-cyrus mailing list