Sieve isn't sieving for me - things to check

Nick Fisher Nick at nickdafish.com
Wed Nov 13 16:26:36 EST 2002


I went through the same thing......
There were 4 basic things to check....

1) Check the location of the sasl2 libs
The default location is /usr/lib/sasl2 but apparently sometimes you need
to link that dir to /usr/lib/local/sasl2. Get and use strace to check this.

2) Incorrect permissions on the sasl2 dir

3) sasl_minimumlayer should be set low
Apparently you should set this var to 0

4) Make sure the plain lib is THERE
(This is the one that got me)
In the sasl2 dir there should be libplain.so.

I'm no expert but these were the main points that every one mentioned.
Also if your using pam with plain make sure that pam has a sieve entry.

  Nick

-----Original Message-----
From: "David C. Tuttle" <david at silicondefense.com>
To: info-cyrus at lists.andrew.cmu.edu
Date: Wed, 13 Nov 2002 12:22:08 -0800 (PST)
Subject: Sieve isn't sieving for me

> I'm sure I'm missing something, but I can't find it in the docs,
> FAQs or info-cyrus archive...
> 
> I've got a user who wants to run sieve.  So I upgraded Cyrus IMAP
> to 2.1.9, and I enabled sieve by leaving out "--disable-sieve" in the
> configure step and kept all the other options I used for 2.1.5:
> 
> # ./configure  --with-sasl=/usr/local/lib
>   --with-openssl=/usr/local/ssl --disable-otp --without-gssapi
>   --without-krb --with-auth=unix
> 
> I manually placed a sieve script for a test account "sstest" in
> /usr/sieve/s/sstest/myscript.script:
> 
> -rw-r--r-- 1 cyrus mail 105 Nov 13 12:10 myscript.script
> 
>   require "fileinto";
>   if header :contains "From" "david at silicondefense.com" {
>       fileinto "INBOX.FROM-DAVID";
>   }
> 
> I stopped and restarted cyrus, to no effect.
> 
> I had no luck getting sieveshell to run (it SegFaults), so I thought I
> could I could just place the sieve script manually.  Is this wrong?
> 
> timsieved runs OK, I can "telnet localhost sieve" and get a response,
> but no AUTHENTICATE commands will work, and no mechanisms are listed:
> 
>   # telnet localhost sieve
>   Trying 127.0.0.1...
>   Connected to localhost.
>   Escape character is '^]'.
>   "IMPLEMENTATION" "Cyrus timsieved v1.1.0"
>   "SIEVE" "fileinto reject envelope vacation imapflags notify
>   subaddress relational regex"
>   OK
> 
> /etc/imapd.conf says:
> 
> sasl_pwcheck_method:    saslauthd
> sasl_mech_list:         PLAIN
> lmtpsocket:             /home/cyrus/socket/lmtp
> tls_sieve_cert_file:    disabled
> tls_sieve_key_file:     disabled
> sievedir:               /usr/sieve
> 
> 
> /etc/cyrus.conf says in its SERVICES section:
> 
> SERVICES {
>   # add or remove based on preferences
> #  imap          cmd="imapd" listen="imap" prefork=0
>   imaps         cmd="imapd -s" listen="imaps" prefork=0 maxchild=8
> #  pop3         cmd="pop3d" listen="pop3" prefork=0
>   pop3s         cmd="pop3d -s" listen="pop3s" prefork=0
>   sieve         cmd="timsieved" listen="sieve" prefork=0
> 
>   # at least one LMTP is required for delivery
> #  lmtp         cmd="lmtpd" listen="lmtp" prefork=0
>   lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
> }
> 
> Any and all advice would be greatly appreciated.
> 
> --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
> David C. Tuttle                              davidt at silicondefense.com
> Product Engineer/System Administrator               (707) 445-4355 x21
> Silicon Defense                           513 2nd St, Eureka, CA 95501
> --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
> 
> 
> 






More information about the Info-cyrus mailing list