Hi all.

I have been using cyrus 2.0.12 with sieve for a while now on test
systems and everything worked fine.

Then when I install cyrus on the production server , everything but
sieve is working.
Please help me to find where I have made any error.


System is running SuSE 6.4
I have compiled and installed  BerkeleyDB.3.2, cyrus-sasl-1.5.24,
cyrus-imapd-2.0.12

I can use sieveshell to upload my scripts but no action is taken when a
mail arrives, 
none of "fileinto" "vacation" or "reject" seems to work.

Thanks for any help in advance.



here is my compile and configure options.
sasl:
-----
CPPFLAGS=-I/usr/local/BerkeleyDB.3.2/include \
LDFLAGS=-L/usr/local/BerkeleyDB.3.2/lib \
        ./configure \
        --without-krb \
        --without-gssapi --enable-login   

cyrus-imapd:
--------------
        ./configure --with-dbdir=/usr/local/BerkeleyDB.3.2

my cyrus.conf says:
--------------------
START {
  mboxlist      cmd="ctl_mboxlist -r"
  deliver       cmd="ctl_deliver -r"
}

SERVICES {
  imap          cmd="imapd" listen="imap" prefork=5
  pop3          cmd="pop3d" listen="pop3" prefork=3
  sieve         cmd="timsieved" listen="sieve" prefork=5
  lmtp          cmd="lmtpd" listen="lmtp" prefork=1
  lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=1
}

EVENTS {
  checkpoint    cmd="ctl_mboxlist -c" period=30
  delprune      cmd="ctl_deliver -E 3" period=1440
}



and /etc/imapd.conf
-----------------------
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus
sasl_pwcheck_method: pam
sendmail: /usr/sbin/sendmail
sievedir: /usr/sieve
postmaster: postmaster





and here are the two scripts I was testing with 

one with discard, redirect, vacation and fileinto.
----------------------------------------------------
require ["fileinto"];
require ["reject"];
require ["vacation"];
# %RULES_START%
        if header :contains "Subject" "shit" {
                discard ;
                stop;
        }
# %RULES_END%
# %VACATION_START%
        vacation
                :days 1
                :subject "i am not here"
# %VAC_TEXT_START%
"please dont look for me.";
# %VAC_TEXT_END%
# %VACATION_END%
# %FORWARD_START%
        redirect "[EMAIL PROTECTED]";
# %FORWARD_END%
# %LOCAL_COPY_START%
fileinto "INBOX";# %LOCAL_COPY_END%# %LOCAL_COPY_END%




and the other simpler one.
----------------------------
require ["fileinto"];
require ["reject"];
require ["vacation"];
        if header :contains "Subject" "test" {
                fileinto "INBOX.Sent";
                stop;
        }


Note: INBOX.Sent does exists, but the message gets filed in INBOX.


-- 
Atif Ghaffar
Internet Development Manager
4unet AG/SA/Ltd.
-------------------------.
        +41 21 351 53 60 ¦ voice
        +41 78 787 51 45 ¦ mobile
        +41 86 0796598972¦ fax
    http://www.4unet.net ¦ www
http://atif.developer.ch ¦ homepage
  [EMAIL PROTECTED] ¦ email

Reply via email to