Subject: Sieve : Unable to connect to server

From: Frederic Bongat <[email-masked]>
Date: Fri, 24 Sep 2004 15:58:28 +0200

Hi,

I have got un problem with sieve. I installed cyrus-imapd 
(cyrus-imapd-2.1.16-5mdk) on my mail server (saslauth : shadow), It 
works, but I want to use now sieve for filtering mails. It seems to work 
and listen, and I don't use xinetd for that. sieve is defined in 
/etc/services

# lsof -i tcp |grep sieve
cyrus-mas 2445  cyrus   38u  IPv4   8995       TCP *:sieve (LISTEN)

# netstat -na|grep 2000
tcp        0      0 0.0.0.0:2000            0.0.0.0:*               LISTEN

# telnet localhost sieve
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
"IMPLEMENTATION" "Cyrus timsieved v2.1.16-Mandrake-RPM-2.1.16-5mdk"
"SIEVE" "fileinto reject envelope vacation imapflags notify subaddress 
relational regex"
"STARTTLS"
OK
logout
OK "Logout Complete"
Connection closed by foreign host.

but when I use installsieve or sieveshell, I ve got an error :

# installsieve -u cyrus localhost
NOTE: This program is deprecated. Please use sieveshell
Unable to connect to server at /usr/bin/installsieve line 123.

# sieveshell -u cyrus localhost
connecting to localhost
unable to connect to server at /usr/bin/sieveshell line 174.

Where is the problem ? an idea ? I don't see SASL in the telnet 
connexion messages, doesn't it ?
Thanks for your help.

-- 
FBongat