Sieve 2.2 not working

John Lane listmail at oceanfree.net
Tue May 10 17:55:06 EDT 2005


Hello,

I have been trying to get Sieve working, to no avail. Having scoured the
mailing lists / google, I've found other people with the same problem but
can't find a solution.

My configuration comprises postfix, procmail and cyrus-imap. It is all
working as expected except for Sieve.

I'm running Cyrus-IMAP 2.2.12, and Cyrus-SASL 2.1.20. My received e-mails
are showing "X-Sieve: CMU Sieve 2.2" so I guess that proces Sieve is
compiled in and being called.

This is my test script (email address changed) :
require ["reject","fileinto"];

  if address :is :all "From" "email at domain.com"
  {
    reject "testing";
  }

I have successfully installed this using sieveshell and it is correctly
installed in the sievedir defined in imapd.conf and has a symlink
"defaultbc" pointing to it.

I have successfully got the sieve test program to report the expected
output:
-bash-2.05b# ./test /tmp/msg /var/lib/imap/sieve/t/testuser/sievetest.bc
rejecting message '/tmp/msg' with 'testing'

(note here that the test prog requires the byte-code version of the script -
I couldn't find this point documented anywhere)

However, When I send a mail into the server the sieve script has no effect.
Otherwise the system is fine.

Any suggestions would be greately appreciated.

Thanks,
John


(i've also tried the below script which doesn't work either)
require ["reject"];
    reject "testing";


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2396 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20050510/80492824/winmail.bin


More information about the Info-cyrus mailing list