Hi all,
some users had trouble with their email filters since our upgrade to the latest bugfix release of OX. after some investigation it looks to me like the script generated bu MailfilterAction / SieveHandler uses the "imap4flags" extension which our cyrus-sieve does not support:
# Generated by OX Sieve Bundle on Mon Dec 05 19:04:26 CET 2011
require [ "imap4flags" , "imapflags" , "regex" ] ;
## Flag: |UniqueId:0|Rulename: blubberregel
if header :regex "From" "foobar"
{
addflag "$cl_1" ;
stop ;
}
MAIL_FILTER-0015 Category=8 Message=Error while communicating with the sieve server 127.0.0.1 at port 2000 for user timo.ullrich in context 1 exceptionID=-758990781-145789
com.openexchange.ajp13.remoteAddress=127.0.0.1
MAIL_FILTER-0015 Category=8 Message=Error while communicating with the sieve server 127.0.0.1 at port 2000 for user timo.ullrich in context 1 exceptionID=-758990781-145789
at com.openexchange.mailfilter.ajax.actions.Mailfilte rAction.actionNew(MailfilterAction.java:425)
at com.openexchange.mailfilter.ajax.actions.Mailfilte rAction.actionNew(MailfilterAction.java:105)
at com.openexchange.mailfilter.ajax.actions.AbstractA ction.action(AbstractAction.java:82)
at com.openexchange.mailfilter.ajax.AJAXServlet.doPut (AJAXServlet.java:206)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:730)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
at com.openexchange.ajp13.coyote.AjpProcessor.process (AjpProcessor.java:805)
at com.openexchange.ajp13.coyote.sockethandler.Coyote Task.call(CoyoteTask.java:184)
at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.jav a:123)
at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.runTask(CustomThreadPoolExecuto r.java:750)
at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.run(CustomThreadPoolExecutor.ja va:776)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.openexchange.jsieve.export.exceptions.OXSieveH andlerException: script errors:
line 2: unsupported feature
at com.openexchange.jsieve.export.SieveHandler.setScr ipt(SieveHandler.java:386)
at com.openexchange.mailfilter.ajax.actions.Mailfilte rAction.writeScript(MailfilterAction.java:1020)
at com.openexchange.mailfilter.ajax.actions.Mailfilte rAction.actionNew(MailfilterAction.java:417)
... 12 more
any idea how to fix this? is this a bug or a configuration error?
thanks and best regards,
guenter
some users had trouble with their email filters since our upgrade to the latest bugfix release of OX. after some investigation it looks to me like the script generated bu MailfilterAction / SieveHandler uses the "imap4flags" extension which our cyrus-sieve does not support:
# Generated by OX Sieve Bundle on Mon Dec 05 19:04:26 CET 2011
require [ "imap4flags" , "imapflags" , "regex" ] ;
## Flag: |UniqueId:0|Rulename: blubberregel
if header :regex "From" "foobar"
{
addflag "$cl_1" ;
stop ;
}
MAIL_FILTER-0015 Category=8 Message=Error while communicating with the sieve server 127.0.0.1 at port 2000 for user timo.ullrich in context 1 exceptionID=-758990781-145789
com.openexchange.ajp13.remoteAddress=127.0.0.1
MAIL_FILTER-0015 Category=8 Message=Error while communicating with the sieve server 127.0.0.1 at port 2000 for user timo.ullrich in context 1 exceptionID=-758990781-145789
at com.openexchange.mailfilter.ajax.actions.Mailfilte rAction.actionNew(MailfilterAction.java:425)
at com.openexchange.mailfilter.ajax.actions.Mailfilte rAction.actionNew(MailfilterAction.java:105)
at com.openexchange.mailfilter.ajax.actions.AbstractA ction.action(AbstractAction.java:82)
at com.openexchange.mailfilter.ajax.AJAXServlet.doPut (AJAXServlet.java:206)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:730)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
at com.openexchange.ajp13.coyote.AjpProcessor.process (AjpProcessor.java:805)
at com.openexchange.ajp13.coyote.sockethandler.Coyote Task.call(CoyoteTask.java:184)
at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.jav a:123)
at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.runTask(CustomThreadPoolExecuto r.java:750)
at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.run(CustomThreadPoolExecutor.ja va:776)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.openexchange.jsieve.export.exceptions.OXSieveH andlerException: script errors:
line 2: unsupported feature
at com.openexchange.jsieve.export.SieveHandler.setScr ipt(SieveHandler.java:386)
at com.openexchange.mailfilter.ajax.actions.Mailfilte rAction.writeScript(MailfilterAction.java:1020)
at com.openexchange.mailfilter.ajax.actions.Mailfilte rAction.actionNew(MailfilterAction.java:417)
... 12 more
any idea how to fix this? is this a bug or a configuration error?
thanks and best regards,
guenter