Hi,

I have setup a small filter for testing that Sieve is working:
require "fileinto";

if address :is :all "From" "[EMAIL PROTECTED]"
{
fileinto "INBOX.Fun";
stop;
}
else {
keep;
stop;
}

but obviously the filter is not used at all, and when checking the log 
I do not see any hint, that sieve is used at all:
Sep 22 21:55:04 mail postfix/qmgr[3515]: 22EF883DCD: 
from=<[EMAIL PROTECTED]>, size=1266, nrcpt=1 (queue active)
Sep 22 21:55:04 mail postfix/smtp[7661]: > 127.0.0.1[127.0.0.1]: MAIL 
FROM:<[EMAIL PROTECTED]> SIZE=1266
Sep 22 21:55:04 mail amavis[6378]: (06378-07) ESMTP< MAIL 
FROM:<[EMAIL PROTECTED]> SIZE=1266\r\n
Sep 22 21:55:04 mail amavis[6378]: (06378-07) lookup (debug_sender) => 
undef, "[EMAIL PROTECTED]" does not match
Sep 22 21:55:04 mail amavis[6378]: (06378-07) ESMTP> 250 2.1.0 Sender 
[EMAIL PROTECTED] OK
Sep 22 21:55:04 mail amavis[6378]: (06378-07) 
ESMTP::10024 /var/amavis/tmp/amavis-20060922T215504-06378: 
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]> SIZE=1266 
Received: from mail.jgduke.dnsalias.com ([127.0.0.1]) by localhost 
(mail.jgduke.dnsalias.com [127.0.0.1]) (amavisd-new, port 10024) with 
ESMTP for <[EMAIL PROTECTED]>; Fri, 22 Sep 2006 21:55:04 +0200 
(CEST)
Sep 22 21:55:04 mail postfix/smtp[7661]: < 127.0.0.1[127.0.0.1]: 250 
2.1.0 Sender [EMAIL PROTECTED] OK
Sep 22 21:55:04 mail amavis[6378]: (06378-07) Checking: 0APgZrDcot0d 
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>
Sep 22 21:55:10 mail amavis[6378]: (06378-07) wbl: checking sender 
<[EMAIL PROTECTED]>
Sep 22 21:55:10 mail amavis[6378]: (06378-07) query_keys: 
[EMAIL PROTECTED], jgduquesnoy@, yahoo.com, .yahoo.com, .com, .
Sep 22 21:55:10 mail amavis[6378]: (06378-07) 
lookup_hash([EMAIL PROTECTED]), no matches
Sep 22 21:55:10 mail amavis[6378]: (06378-07) lookup 
(blacklist_sender) => undef, "[EMAIL PROTECTED]" does not match
Sep 22 21:55:10 mail amavis[6378]: (06378-07) query_keys: 
[EMAIL PROTECTED], jgduquesnoy@, yahoo.com, .yahoo.com, .com, .
Sep 22 21:55:10 mail amavis[6378]: (06378-07) 
lookup_hash([EMAIL PROTECTED]), no matches
Sep 22 21:55:10 mail amavis[6378]: (06378-07) lookup 
(whitelist_sender) => undef, "[EMAIL PROTECTED]" does not match
Sep 22 21:55:10 mail amavis[6378]: (06378-07) 
lookup_re("[EMAIL PROTECTED]"), no matches
Sep 22 21:55:10 mail amavis[6378]: (06378-07) query_keys: 
[EMAIL PROTECTED], jgduquesnoy@, yahoo.com, .yahoo.com, .com, .
Sep 22 21:55:10 mail amavis[6378]: (06378-07) 
lookup_hash([EMAIL PROTECTED]), no matches
Sep 22 21:55:10 mail amavis[6378]: (06378-07) lookup 
(score_sender<[EMAIL PROTECTED]>) => undef, 
"[EMAIL PROTECTED]" does not match
Sep 22 21:55:12 mail amavis[6378]: (06378-07) (about to connect to 
[127.0.0.1]:10025) FWD via SMTP: <[EMAIL PROTECTED]> -> 
<[EMAIL PROTECTED]>
Sep 22 21:55:12 mail postfix/smtpd[7664]: < localhost[127.0.0.1]: MAIL 
FROM:<[EMAIL PROTECTED]>
Sep 22 21:55:12 mail postfix/smtpd[7664]: extract_addr: input: 
<[EMAIL PROTECTED]>
Sep 22 21:55:12 mail postfix/smtpd[7664]: smtpd_check_addr: 
[EMAIL PROTECTED]
Sep 22 21:55:12 mail postfix/smtpd[7664]: send attr address = 
[EMAIL PROTECTED]
Sep 22 21:55:12 mail postfix/smtpd[7664]: input attribute value: 
[EMAIL PROTECTED]
Sep 22 21:55:12 mail postfix/smtpd[7664]: rewrite_clnt: local: 
[EMAIL PROTECTED] -> [EMAIL PROTECTED]
Sep 22 21:55:12 mail postfix/smtpd[7664]: send attr address = 
[EMAIL PROTECTED]
Sep 22 21:55:12 mail postfix/smtpd[7664]: input attribute value: 
[EMAIL PROTECTED]
Sep 22 21:55:12 mail postfix/smtpd[7664]: resolve_clnt: 
[EMAIL PROTECTED]' -> transp=`smtp' host=`smtp.1und1.de' 
[EMAIL PROTECTED]' flags= class=default
Sep 22 21:55:12 mail postfix/smtpd[7664]: ctable_locate: install entry 
key [EMAIL PROTECTED]
Sep 22 21:55:12 mail postfix/smtpd[7664]: extract_addr: result: 
[EMAIL PROTECTED]
Sep 22 21:55:12 mail postfix/smtpd[7664]: check_mail_access: 
[EMAIL PROTECTED]
Sep 22 21:55:12 mail postfix/smtpd[7664]: ctable_locate: move existing 
entry key [EMAIL PROTECTED]
Sep 22 21:55:12 mail postfix/smtpd[7664]: check_access: 
[EMAIL PROTECTED]
Sep 22 21:55:12 mail postfix/smtpd[7664]: check_access: jgduquesnoy@
Sep 22 21:55:12 mail amavis[6378]: (06378-07) FWD via SMTP: 
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, 250 2.6.0 Ok, 
id=06378-07, from MTA([127.0.0.1]:10025): 250 Ok: queued as 
89D9B8DFBC
Sep 22 21:55:12 mail amavis[6378]: (06378-07) one_response_for_all 
<[EMAIL PROTECTED]>: success, r=0,b=0,d=0, ndn_needed=0, '250 
2.6.0 Ok, id=06378-07, from MTA([127.0.0.1]:10025): 250 Ok: queued as 
89D9B8DFBC'
Sep 22 21:55:12 mail amavis[6378]: (06378-07) dsn: from MTA 250 Clean 
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>: on_succ=0, 
on_dly=1, on_fail=1, never=0, warn_sender=, DSN_passed_on=0
Sep 22 21:55:12 mail amavis[6378]: (06378-07) DSN: SUCC from MTA 250 
Clean, no DSN requested: <[EMAIL PROTECTED]> -> 
<[EMAIL PROTECTED]>
Sep 22 21:55:12 mail amavis[6378]: (06378-07) Passed CLEAN, 
[84.178.24.228] <[EMAIL PROTECTED]> -> 
<[EMAIL PROTECTED]>, Message-ID: 
<[EMAIL PROTECTED]>, mail_id: 
0APgZrDcot0d, Hits: 0., queued_as: 89D9B8DFBC, 8030 ms
Sep 22 21:55:12 mail postfix/qmgr[3515]: 89D9B8DFBC: 
from=<[EMAIL PROTECTED]>, size=1744, nrcpt=1 (queue active)

Here is my imapd.conf:
postmaster: postmaster
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
sievedir: /var/lib/sieve
admins: cyrus
allowanonymouslogin: no
allowplaintext: yes
sasl_mech_list: PLAIN
servername: mail.jgduke.dnsalias.com
autocreatequota: 10000
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: 127.0.0.1
sasl_pwcheck_method: saslauthd
#sasl_pwcheck_method: auxprop
lmtp_overquota_perm_failure: no
lmtp_downcase_rcpt: yes
sendmail: /usr/sbin/sendmail
sieve_maxscriptsize: 32
sieve_maxscripts: 5
sieve_sasl_minimum_layer: 0
sasl_minimum_layer: 0
autocreateinboxfolders: INBOX | INBOX.Trash | INBOX.Sent | 
INBOX.Drafts
autosubscribeinboxfolders: INBOX | INBOX.Trash | INBOX.Sent | 
INBOX.Drafts

This is my cyrus.conf:
# standard standalone server implementation

START {
  # do not delete this entry!
  recover       cmd="ctl_cyrusdb -r"

  # this is only necessary if using idled for IMAP IDLE
  idled         cmd="idled"
}

# UNIX sockets start with a slash and are put 
into /var/lib/imap/socket
SERVICES {
  # add or remove based on preferences
  imap          cmd="imapd" listen="192.168.0.5:imap" prefork=0
#  imaps                cmd="imapd -s" listen="192.168.0.5:imaps" 
prefork=0
  pop3          cmd="pop3d" listen="pop3" prefork=0
#  pop3s                cmd="pop3d -s" listen="pop3s" prefork=0
  sieve         cmd="timsieved" listen="192.168.0.5:sieve" prefork=0

  # at least one LMTP is required for delivery
#  lmtp         cmd="lmtpd" listen="lmtp" prefork=0
  lmtpunix      cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" 
prefork=0

  # this is only necessary if using notifications
#  notify       cmd="notifyd" listen="/var/lib/imap/socket/notify" 
proto="udp" prefork=1
}

EVENTS {
  # this is required
  checkpoint    cmd="ctl_cyrusdb -c" period=30

  # this is only necessary if using duplicate delivery suppression
  delprune      cmd="cyr_expire -E 3" at=0400

  # this is only necessary if caching TLS sessions
  tlsprune      cmd="tls_prune" at=0400

}

Is there any setting missing which would cause sieve to not being 
used? 

Thanks for any help.
Best regards,
-- 
Jean-Gabriel Duquesnoy
Sauerbornstraße 4
D-61184 Karben
Mob: +49-172-3408344
----
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

Reply via email to