Why seive doesn't work for me?

Ken Murchison ken at oceana.com
Wed Aug 20 08:23:11 EDT 2003



Sungsoo Kim wrote:

> I put a script named "test" into my sieve server using sieveshell.
> And the script was successfully put into the sieve server.
> The list command in sieveshell shows the name of the "test" script.
> And I activated it.
> 
> The "test" script is like this:
> 
>     require "fileinto";
>     if header :contains "Subject" "test" {
>         fileinto "INBOX.test";
>     }
> 
> I checked that "test.script" exists in /var/lib/imap/sieve/k/kiss^my^domain directory. Of course the INBOX.test mail was created.
> But when I send a mail to my account, the mail is put into INBOX.
> I tested using the same SMTP server with IMAP server and another
> outside SMTP server. The result was same.
> 
> I think sieve doesn't work properly.
> What's wrong with me?

If you're using the unixhierarchysep, then you should do:

fileinto "INBOX/test";


-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp





More information about the Info-cyrus mailing list