weird sieve issues
Cory D. Wiles
cwiles at randomthoughtprocess.com
Wed Mar 16 17:59:46 EST 2005
Programs Installed:
Cyrus IMAPd 2.2.12
Cyrus SASL 2.1.20
I have been trying to get sieve running all day, but to no avail. If I
run the following command:
shell>$sieveshell --user=cwiles -a cyrus localhost
I get the following error:
connecting to localhost
Bad protocol from MANAGESIEVE server: EOL2
When I looked at my imadp.log I noticed that I was getting the following
error:
IOERROR: not a sieve bytecode file /usr/local/sieve/c/cwiles/defaultbc
::NOTE::
I had to create the "c/cwiles/defaultbc" directories/files manually...I
am not sure if that is correct or not.
When I removed the defaultbc file I now get:
IOERROR: fstating sieve script /usr/local/sieve/c/cwiles/defaultbc: No
such file or directory
When I checked to make sure that the port(2000) was even open I was
shocked to see that the mimedefang.sock was listening to it and I have
no idea why:
shell>$netstat -na | grep LISTEN
tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:2000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:32825 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
unix 2 [ ACC ] STREAM LISTENING 1977
/var/spool/MIMEDefang/mimedefang-multiplexor.sock
unix 2 [ ACC ] STREAM LISTENING 2000
/var/spool/MIMEDefang/mimedefang.sock
unix 2 [ ACC ] STREAM LISTENING 2271 /tmp/mysql.sock
unix 2 [ ACC ] STREAM LISTENING 2276
/tmp/.font-unix/fs7100
unix 2 [ ACC ] STREAM LISTENING 8825
/var/imap/socket/lmtp
unix 2 [ ACC ] STREAM LISTENING 2825
/var/run/dbus/system_bus_socket
I did have to create a new xinetd file:
service sieve
{
socket_type = stream
protocol = tcp
wait = no
user = cyrus
port = 2000
passenv = PATH
server = /usr/cyrus/bin/timsieved
}
::IMAPD.CONF::
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cwiles, cyrus
sasl_pwcheck_method: saslauthd
sievedir: /usr/local/sieve
sieveusehomedir: no
hashimapspool: true
altnamespace: yes
sendmail: /usr/sbin/sendmail
timeout: 90
allowplaintext: yes
::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/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0
imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0
# these are only necessary if receiving/exporting usenet via NNTP
# nntp cmd="nntpd" listen="nntp" prefork=0
# nntps cmd="nntpd -s" listen="nntps" 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
# this is only necessary if using notifications
# notify cmd="notifyd" listen="/var/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,
# Sieve or NNTP
delprune cmd="cyr_expire -E 3" at=0400
# this is only necessary if caching TLS sessions
tlsprune cmd="tls_prune" at=0400
}
If anyone has any insight as to what I am missing then i would really
appreciate it. I have been googling all day long and I am out of ideas.
Thanks,
Cory
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list