Sieve isn't sieving for me - things to check

David C. Tuttle david at silicondefense.com
Thu Nov 14 14:27:57 EST 2002


The link from /usr/lib/sasl2 to /usr/local/lib/sasl2 did indeed work.
Now sieveshell works and I can upload a sieve script.  But it still
isn't sieving.

   PROMPT# sieveshell --user=sstest --authname=sstest localhost
   connecting to localhost
   Please enter your password:
   > put /root/sievescript testscript
   > activate testscript
   > list
   testscript  <- active script
   sievescript
   > quit

   /usr/sieve/s/sstest# ls -l
   total 16
   lrwxrwxrwx 1 cyrus mail   17 Nov 14 10:57 default -> testscript.script
   -rw------- 1 cyrus mail 8453 Nov 14 10:44 sievescript.script
   -rw------- 1 cyrus mail  208 Nov 14 11:16 testscript.script

The contents of /root/sievescript are:

   require "fileinto";
   if header :contains "From" "david at silicondefense.com" {
      fileinto "INBOX.WOOF";
   }
   elsif header :contains "Subject" "WOOFWOOF" {
      fileinto "INBOX.WOOF";
   }
   else {
      fileinto "INBOX";
   }

I sent a message from me with the subject "WOOFWOOF" (both rules
should fire) and the message isn't being sieved into WOOF.  I see

   Return-Path: <cyrus at imap.silicondefense.com>
   Received: from imap.silicondefense.com ([unix socket])
           by imap.silicondefense.com (Cyrus v2.1.9) with LMTP;
           Thu, 14 Nov 2002 10:57:51 -0800
   X-Sieve: CMU Sieve 2.2
   Return-Path: <david at silicondefense.com>

in the headers.  I'm still stumped.

--  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
David C. Tuttle                              davidt at silicondefense.com
Product Engineer/System Administrator               (707) 445-4355 x21
Silicon Defense                           513 2nd St, Eureka, CA 95501
--  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --

On Wed, 13 Nov 2002, Nick Fisher wrote:

> 1) Check the location of the sasl2 libs
> The default location is /usr/lib/sasl2 but apparently sometimes you need
> to link that dir to /usr/lib/local/sasl2.






More information about the Info-cyrus mailing list