Cannot get sieve working with 2.3.11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I compiled 2.3.11 on FreeBSD 6.3 but cannot get sieve working. I have
a simple sieve script:
  $ cat china.sieve
  if header :contains "Subject" "" {
    discard;
  }
  $ sieveshell [cyrus server]
  > put china.sieve
  > active china.sieve
  > list
  china.sieve  <- active script
  > quit

In imapd.conf I have:
  duplicatesuppression: true
  sieveusehomedir: false
  sievedir: /ext/mail/sieve

$ find /ext/mail/sieve
/ext/mail/sieve
/ext/mail/sieve/global
/ext/mail/sieve/global/china.sieve.bc
/ext/mail/sieve/global/china.sieve.script
/ext/mail/sieve/global/defaultbc
$ cd /ext/mail/sieve/global
$ ls -l
-rw-------  1 cyrus  cyrus  88 Feb  2 14:08 china.sieve.bc
-rw-------  1 cyrus  cyrus  48 Feb  2 14:08 china.sieve.script
lrwx------  1 cyrus  cyrus  14 Feb  2 14:03 defaultbc -> china.sieve.bc

The sieve script above should discard all mail with a Subject header
but it does not. Any ideas?

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux