Sieve isn't sieving for me - things to check

Nick Fisher Nick at nickdafish.com
Thu Nov 14 15:19:35 EST 2002


I'm still learning at this myself but I found that you had to supply a
full path to the mail box rather than a relative one.
Rather than
'INBOX/Woof'
I have to specify
'user/myusername/Woof'

Note that I'm using the '/' as a delimiter rather than the '.'. That's an
option somewhere in the setup.

Basicly the INBOX is specifyed by the full folder path, I found mine by
playing around in cyradm and listing mailboxs.

Hope that helps ;)

  Nick

-----Original Message-----
From: "David C. Tuttle" <david at silicondefense.com>
To: info-cyrus at lists.andrew.cmu.edu
Date: Thu, 14 Nov 2002 11:27:57 -0800 (PST)
Subject: Re: Sieve isn't sieving for me - things to check

> 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