You're running the wrong "test" command.  You're running the standard
Unix test command instead of the (badly named) Cyrus sieve test
command.

Larry

   Date: Tue, 20 Nov 2001 11:49:56 -0500 (EST)
   From: Arley Carter <[EMAIL PROTECTED]>
   cc: Ken Murchison <[EMAIL PROTECTED]>, Lawrence Greenfield <[EMAIL PROTECTED]>

   I have come across this error whilest trying to get sieve to run properly.
   This is using FreeBsd 4.4, cyrus 2.0.16 and the timseived which is built
   with this. Has anybody seen this before or can diagnose the problem?  This
   error will also appear when a non-existent script is fed to test as I did
   below with the script "noscript" which doesn't exist on the sieve server.
   The entries "default" and "example1.script" exist in 
   /var/imap/sieve/a/arc and are owned by cyrus group=mail
   /var/spool/imap/user/arc/36. is owned by cyrus group=mail

   scout# sieveshell -u arc localhost
   connecting to localhost
   Please enter your password: <--- echoes password (Bad) 
   > list
   example1  <- active script
   > get example1
   #Example from rfc 3028 pg 33
   require ["fileinto"];
   if header :contains "From" "[EMAIL PROTECTED]" {
           fileinto "bsd-commit"; }

   > list
   example1  <- active script
   > quit
   scout# test /var/spool/imap/user/arc/36. /var/imap/sieve/a/arc/example1
   test: /var/imap/sieve/a/arc/example1: unexpected operator
   scout# test /var/spool/imap/user/arc/36. /var/imap/sieve/a/arc/default
   test: /var/imap/sieve/a/arc/default: unexpected operator
   scout# test /var/spool/imap/user/arc/36. /var/imap/sieve/a/arc/noscript
   test: /var/imap/sieve/a/arc/noscript: unexpected operator
   scout# 

   Thanks

   Cheers:
   -arc

   Arley Carter                         [EMAIL PROTECTED]
   Tradewinds Technologies, Inc.                www.twinds.com
   Winston-Salem, NC  USA                       Network Engineering & Security  
   336-817-9554



Reply via email to