sieve script not running?

Hank Beatty hbeatty.lists at earthlink.net
Mon Jul 7 14:34:39 EDT 2003


I'm working with the 2.2 version and have this sieve script:

require ["fileinto"];
if header :contains "X-Spam-Flag" "YES" {
fileinto "Junk Mail";
}

The "Junk Mail" folder does exist:

user/<username>/INBOX.Drafts@<domain>.net (\HasNoChildren)
user/<username>/INBOX.Sent@<domain>.net (\HasNoChildren)
user/<username>/INBOX.Trash@<domain>.net (\HasNoChildren)
user/<username>/mail/Drafts@<domain>.net (\HasNoChildren)
user/<username>/mail/Family@<domain>.net (\HasNoChildren)
user/<username>/mail/Junk Mail@<domain>.net (\HasNoChildren)
user/<username>/mail/Sent@<domain>.net (\HasNoChildren)
user/<username>/mail/Trash@<domain>.net (\HasNoChildren)
user/<username>@<domain>.net (\HasChildren)


I can use sieveshell to upload and activate the script.

> list
phpscript
test  <- active script


imapd.conf

##########################################
# Global info's
##########################################
configdirectory: /var/imap
partition-default: /var/spool/imap
unixhierarchysep: yes
altnamespace: yes
imapidresponse: no
##########################################
# Autentification & User rights
##########################################
admins: cyrus murderbackend murderproxy
sasl_pwcheck_method: saslauthd
allowanonymouslogin: no
##########################################
# Quota & Message size limit
##########################################
quotawarn: 90
autocreatequota: 10240
lmtp_overquota_perm_failure: yes
defaultacl: anyone lrs
##########################################
# Virtual Domain Support
##########################################
virtdomains: yes
singleinstancestore: yes
duplicatesuppression: yes
foolstupidclients: yes
hashimapspool: yes
sievedir: /usr/sieve
sieveusehomedir: no

The sieve script was created in:

ls /usr/sieve/domain/R/<domain>.net/W/<username>/
default.bc  phpscript.bc  phpscript.script  test.bc  test.script

The script isn't moving any of the mail that has the spam flag set. Does
anyone have any ideas?

-- 
Hank Beatty <<username>.lists at earthlink.net>





More information about the Info-cyrus mailing list