I'll apply a more general fix on the original..  Yes you're right Perlsieve
needs more robustness but since I'm going to swich to using the included
Cyrus perl API , I didn't spend too much time on it.  Works ok here so I
was'nt too concerned.

Alain
----- Original Message -----
From: "Michael Clark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Alain Turbide" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April 05, 2001 7:24 AM
Subject: RE: WEBSIEVE


> Hi,
>
> I came across this same problem using websieve on 2.0.12 but this small
change
> to perlsieve-4.7 made it work for me. It appears that the timsieved has an
extra
> line in the protocol messages (i can't remember what this was off the top
of my
> head). It also has a different OK response. This patch works for me
although
> could be a little more elegant (the protocol parsing in perlsieve in
general
> could benefit from a little more robustness).
>
> # diff Sieve.pm /usr/lib/perl5/site_perl/5.005/IMAP/Sieve.pm
> 83a84
> >       <$fh>;
> 293c294
> <               last if (m/^OK.*Success/);
> ---
> >               last if (m/^OK.*/);
>
> This change is of course backwards incompatible with earlier version of
the
> sieve protocol but will suffice as a local site change to get the script
> running.
>
> ~mc
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Patrick Lin
> > Sent: Wednesday, 4 April 2001 9:57 p.m.
> > To: Alain Turbide
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: WEBSIEVE
> >
> >
> > hi,
> >
> > Ok i verify i have port 2000 on the script
> > when i push the login Button i have this on my log
> >
> > Apr  4 14:56:30 earth master[21642]: about to exec
> > /usr/local/depot/cyrus-imapd-2.0.12/bin/timsieved
> > Apr  4 14:56:30 earth service-timsieved[21642]: executed
> > Apr  4 14:56:30 earth service-timsieved[21642]: accepted connection
> > Apr  4 14:56:30 earth timsieved[21642]: login: localhost[127.0.0.1]
> > patrickl PLAIN User logged in
> >
> > so the script connect to the sieve server
> >
> > patrick
> >
> > Alain Turbide a écrit :
> > >
> > > Usually that happens if the script can't connect to the sieve server.
> > > Obviously it can connect to the Imap server ok since it authenticates
you.
> > > I haven't had a chance on making the script more verbose for this type
of
> > > error.  Make sure that your sieve server daemon is accessable and that
you
> > > have the proper port set in the script..
> > >
> > > Alain
> > > ----- Original Message -----
> > > From: "Patrick Lin" <[EMAIL PROTECTED]>
> > > To: "Scott Smith" <[EMAIL PROTECTED]>
> > > Cc: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, April 04, 2001 8:32 AM
> > > Subject: Re: WEBSIEVE
> > >
> > > > Scott Smith a écrit :
> > > > >
> > > > > Check your web server logs.
> > > > >
> > > > > On Tue, 3 Apr 2001, Patrick Lin wrote:
> > > > >
> > > > > > hello
> > > > > >
> > > > > > someone have any luck run Websieve stuff :
> > > > > > http://24.112.168.35/websieve/
> > > > > > me i try to install Websieve 0.48
> > > > > > and i have the login page
> > > > > > i enter username /password , on the log i can see auth success
on
> > > > > > timsieve then nothing happend
> > > > > > if i put a wrong password , on the log i can see auth failure
but
> > > > > > nothing happen
> > > > > > still running
> > > > > >
> > > > > > any help
> > > > > > patrick
> > > >
> > > > hmmm
> > > > of course , the fisrt thing i do is go to see my Web log :))
> > > > but no errors, nothing....... strange
> > > >
> > > > any other help
> > > >
> > > > best regards
> > > > Patrick
> > > >
> > > > --
> > > >                                               ____________
> > > >            __________________________________(           /
> > > >   ________|                                  |          /
> > > >   \       | This message is transmitted by   |          \
> > > >    \      |   100 % recycled electrons       |___________\
> > > >    /      |__________________________________(
> > > >   /__________)
> > > >
> > > >
> >
> > --
> >                                               ____________
> >            __________________________________(           /
> >   ________|                                  |          /
> >   \       | This message is transmitted by   |          \
> >    \      |   100 % recycled electrons       |___________\
> >    /      |__________________________________(
> >   /__________)
> >
> >
>
>

Reply via email to