Hi 

I'm trying to talk to the timesieved via MANAGESIEVE  from a java program.

The beginning was not so bad, I can login and I get data (LISTSCRIPT, 
GETSCRIPT). 

But when I try PUTSCRIPT, I keep getting 
  NO "Did not specify script data"



I must be doing something wrong but I've no idea how to find out what and I'm 
kind of
stuck. Can I get some debug info from timesieved? 

Alternatively, has anyone already done this in java and is inclined share the 
code :-)?   


Ana

--------
output.log

(S is what I read from the Server and C for client what I write). 

18:09:04 - S: "IMPLEMENTATION" "Cyrus timsieved v2.1.18-IPv6-Debian-2.1.18-1"
18:09:04 - S: "SASL" "PLAIN"
18:09:04 - S: "SIEVE" "fileinto reject envelope vacation imapflags notify 
subaddress
relational regex"
18:09:04 - S: OK
18:09:04 - C: AUTHENTICATE "PLAIN" "YW9sZXNraQBhb2xlc2tpAGFvbGVza2k="
18:09:04 - S: OK
18:09:04 - C: PUTSCRIPT "vacationtest" {103+}

require ["vacation"];
vacation :days 7
    :subject " test "
    "test message" ;
18:09:04 - S: NO "Did not specify script data"



-------------------------------------------------------------------------------------------
Voice Messages, Voice Calls (VoIP), Video Conferencing, http://www.x-mail.net
Anonymous SSL Web Surfing, http://www.snoopblocker.com
Search http://www.teradex.com




---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to