You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ketanbparekh <ta...@yahoo.com> on 2007/06/19 14:40:37 UTC
sieve script in UTF-8 format throwing exception in windows server
2003
Hi All,
I am using james-2.3.0, sieve script, along with JBOSS.
I am facing problem as I am getting exception in windows server 2003 when
the sieve script is saved in UTF-8 format as follows
19/06/07 17:55:49 ERROR spoolmanager: Exception in processor <root>
org.apache.jsieve.parser.generated.TokenMgrError: Lexical error at line 1,
column 1. Encountered: "\ufeff" (65279), after : ""
at
org.apache.jsieve.parser.generated.SieveParserTokenManager.getNextToken(SieveParserTokenManager.java:614)
at
org.apache.jsieve.parser.generated.SieveParser.jj_ntk(SieveParser.java:567)
at
org.apache.jsieve.parser.generated.SieveParser.commands(SieveParser.java:64)
at
org.apache.jsieve.parser.generated.SieveParser.start(SieveParser.java:20)
at org.apache.jsieve.SieveFactory.parse(SieveFactory.java:102)
As a result my flow of mail does not proceed it is sticked in the
SieveFactory Parse method().
This sieve script works fine on Windows XP in UTF-8 format. If I save the
sieve script in ANSI Format in windows server 2003 it works but I need to
save it UTF-8 format as it contains Farsi language words.
Pls can somebody provide me some solution?
Thanks in Advance,
Ketan.B.Parekh
--
View this message in context: http://www.nabble.com/sieve-script-in-UTF-8-format-throwing-exception-in-windows-server-2003-tf3946063.html#a11193626
Sent from the James - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: sieve script in UTF-8 format throwing exception in windows server 2003
Posted by robert burrell donkin <ro...@gmail.com>.
On 6/19/07, Stefano Bagnara <ap...@bago.org> wrote:
>
> robert burrell donkin ha scritto:
> > On 6/19/07, ketanbparekh <ta...@yahoo.com> wrote:
> >>
> >>
> >> Hi All,
> >>
> >> I am using james-2.3.0, sieve script, along with JBOSS.
> >
> >
> > i can't find the source for sieve support in james-2.3.0. could anyone
> help
> > me out...?
>
> AFAIK 2.3.0 didn't have JSieve support.
> Maybe the user simply compiled the code found in JIRA or in trunk.
IIRC i fixed a bug in this a while ago: either it hasn't worked or a later
version is needed
- robert
Re: sieve script in UTF-8 format throwing exception in windows server
2003
Posted by Stefano Bagnara <ap...@bago.org>.
robert burrell donkin ha scritto:
> On 6/19/07, ketanbparekh <ta...@yahoo.com> wrote:
>>
>>
>> Hi All,
>>
>> I am using james-2.3.0, sieve script, along with JBOSS.
>
>
> i can't find the source for sieve support in james-2.3.0. could anyone help
> me out...?
AFAIK 2.3.0 didn't have JSieve support.
Maybe the user simply compiled the code found in JIRA or in trunk.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: sieve script in UTF-8 format throwing exception in windows server 2003
Posted by robert burrell donkin <ro...@gmail.com>.
On 6/19/07, ketanbparekh <ta...@yahoo.com> wrote:
>
>
> Hi All,
>
> I am using james-2.3.0, sieve script, along with JBOSS.
i can't find the source for sieve support in james-2.3.0. could anyone help
me out...?
- robert