Sieve isn't sieving for me
David C. Tuttle
david at silicondefense.com
Wed Nov 13 15:22:08 EST 2002
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