RE: Timsieved valid commands -- Expected EOL -- sovled

2002-11-25 Thread Su Li
t: November 25, 2002 1:59 PM To: Mark Keasling Cc: [EMAIL PROTECTED] Subject: RE: Timsieved valid commands -- Expected EOL Hi Mark, I am still working on Timsieved. I got error "Expected EOL". GETSCRIPT "mysieve" {127} require ["fileinto&quo

RE: Timsieved valid commands -- Expected EOL

2002-11-25 Thread Su Li
cript data" In my C++ program I did: sprintf((char*) sendBuffer, "PUTSCRIPT \"%s\" \"%s\"\r\n", scriptName.c_str(), script.c_str()); m_pConnection->Send(sendBuffer, strlen(sendBuffer)); The C++ program gave me the same result. I wonder why other command didn

Re: Timsieved valid commands

2002-11-20 Thread Ken Murchison
Mark Keasling wrote: > > Hi, > > On Tue, 19 Nov 2002 21:20:57 -0500, Su Li <[EMAIL PROTECTED]> wrote... > > Thanks a lot Mark and Ken, > > > > I am writing a C++ client to log into Sieve 2000 port. Can you send me the C++/C >code for base64 encode? So what I need to do to login to Sieve should

RE: Timsieved valid commands -- it works cool!

2002-11-19 Thread Su Li
Thank a lot! It works very well! Really cool! Thanks, every one who helped me on this problem. Su -Original Message- From: Mark Keasling [mailto:[EMAIL PROTECTED]] Sent: November 19, 2002 11:55 PM To: Su Li Subject: Re: Timsieved valid commands Hi, On Tue, 19 Nov 2002 23:30:16 -0500

Re: Timsieved valid commands

2002-11-19 Thread Rob Siemborski
On Wed, 20 Nov 2002, Mark Keasling wrote: > However, for testing purposes you may still want to connect to the timsieved > by telnet. In that case using AUTHENTICATE "LOGIN" is easiest way to login Actually, I bet you'll find sivtest (one of the imtest variations) to be much more useful for this

Re: Timsieved valid commands

2002-11-19 Thread +archive . info-cyrus
--On Tuesday, November 19, 2002 9:46 PM -0500 Ken Murchison <[EMAIL PROTECTED]> wrote: | You should use the SASL library to to the authentication so you can | handle any available mechanism. The imtest.c program that comes with | Cyrus is a good example of a SASL client - it handles SSL/TLS and

Re: Timsieved valid commands

2002-11-19 Thread Mark Keasling
Hi, On Tue, 19 Nov 2002 21:20:57 -0500, Su Li <[EMAIL PROTECTED]> wrote... > Thanks a lot Mark and Ken, > > I am writing a C++ client to log into Sieve 2000 port. Can you send me the C++/C >code for base64 encode? So what I need to do to login to Sieve should be like: > > C: AUTHENTICATE "PLAIN

Re: Timsieved valid commands

2002-11-19 Thread Ken Murchison
Su Li wrote: > > Thanks a lot Mark and Ken, > > I am writing a C++ client to log into Sieve 2000 port. Can you send me the C++/C >code for base64 encode? So what I need to do to login to Sieve should be like: You should use the SASL library to to the authentication so you can handle any avail

RE: Timsieved valid commands

2002-11-19 Thread Su Li
Thanks a lot Mark and Ken, I am writing a C++ client to log into Sieve 2000 port. Can you send me the C++/C code for base64 encode? So what I need to do to login to Sieve should be like: C: AUTHENTICATE "PLAIN" {21+} C: S: password? C: S: OK loged in Is that right? I really appreciate if you

Re: Timsieved valid commands

2002-11-19 Thread Mark Keasling
Hi, On Tue, 19 Nov 2002 16:08:58 -0500, Su Li <[EMAIL PROTECTED]> wrote... > Hi > > I am building a web admin server to manage the sieve filtering for Cyrus IMAP. I >don't want to use Sieveshell. I telnet to Sieve port 2000 and did a 'AUTHENTICATE >"PLAIN" ' command. I checked the man page of

Re: Timsieved valid commands

2002-11-19 Thread Ken Murchison
Su Li wrote: > > Hi > > I am building a web admin server to manage the sieve filtering for Cyrus IMAP. I >don't want to use Sieveshell. I telnet to Sieve port 2000 and did a 'AUTHENTICATE >"PLAIN" ' command. I checked the man page of timsieved. There is not much information >about valid comm

Timsieved valid commands

2002-11-19 Thread Su Li
Hi I am building a web admin server to manage the sieve filtering for Cyrus IMAP. I don't want to use Sieveshell. I telnet to Sieve port 2000 and did a 'AUTHENTICATE "PLAIN" ' command. I checked the man page of timsieved. There is not much information about valid commands. I am not sure how can