Sieve isn't sieving for me

Schmehl, Paul L pauls at utdallas.edu
Wed Nov 13 16:29:04 EST 2002


This may or may not be your problem, but when I had the exact same
problem, I fixed it like this.  (Everything else worked fine, but sieve
showed no available mechs, and I couldn't login using sieveshell.)

When I first built Cyrus, I symlinked to the /usr/lib/sasl2 directory
like this:
# ln -s /usr/local/lib/sasl2/ /usr/lib/sasl2

When I used this, sieve finally showed avalable mechs:
#ln -s /usr/local/lib/sasl2/* /usr/lib/sasl2

The first example symlinks the whole /usr/local/lib/sasl2 directory.
The second symlinks all the files *in* the directory.  The first worked
fine with cyrus-imapd and auxprop, but didn't work with sieve.

Paul Schmehl (pauls at utdallas.edu)
TCS Department Coordinator
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/~pauls/


> -----Original Message-----
> From: David C. Tuttle [mailto:david at silicondefense.com] 
> Sent: Wednesday, November 13, 2002 2:22 PM
> To: info-cyrus at lists.andrew.cmu.edu
> 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