[CentOS] sieveshell fails to start on CentOS 6.0

Wed Aug 10 18:41:46 UTC 2011
Harold Pritchett <harold at uga.edu>

On 8/10/2011 2:28 PM, Simon Matter wrote:
>> On 8/10/2011 2:00 PM, Simon Matter wrote:
>>>> I don't know if this is the right place to report this or not.
>>>>
>>>> I am building a new server on a 64 bit CentOS 6.0 platform.
>>>>
>>>> [root at newmick ~]# cat /etc/redhat-release
>>>> CentOS Linux release 6.0 (Final)
>>>> [root at newmick ~]# uname -a
>>>> Linux newmick.halshome.net 2.6.32-71.29.1.el6.x86_64 #1 SMP
>>>>     Mon Jun 27 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux
>>>>
>>>> Mail subsystem consists of:
>>>>         sendmail
>>>>         spamassassin
>>>>         spamass-milter
>>>>         cyrus-imap
>>>>
>>>> All of these appear to be working.  Mail sent to the system
>>>> appears in the inbox of the user it is sent to.
>>>>
>>>> My problem:
>>>>
>>>> I am unable to get the cyrus sieve to work.  Attempting to run
>>>> sieveshell to load the filter fails as shown below.
>>>>
>>>> [harold at newmick ~]$ sieveshell localhost
>>>> connecting to localhost
>>>> unable to connect to server at /usr/bin/sieveshell line 170.
>>>> [harold at newmick ~]$
>>> Maybe sieveshell tries to connect to the wrong port? Did you try
>>> sieveshell localhost:sieve
>>>
>> [harold at newmick ~]$ sieveshell localhost:sieve
>> connecting to localhost:sieve
>> connect: Connection refused
>> unable to connect to server at /usr/bin/sieveshell line 170.
>> [harold at newmick ~]$ sieveshell localhost:2000
>> connecting to localhost:2000
>> unable to connect to server at /usr/bin/sieveshell line 170.
>> [harold at newmick ~]$
> And on which port does it listen for sieve? Note that port 2000 is not the
> managesieve port anymore.
>
[root at newmick etc]# grep sieve /etc/services
sieve-filter    2000/tcp        cisco-sccp      # Sieve Mail Filter Daemon
sieve-filter    2000/udp        cisco-sccp      # Sieve Mail Filter Daemon
sieve           4190/tcp                # ManageSieve Protocol
[root at newmick etc]#

[harold at newmick ~]$ sieveshell localhost:4190
connecting to localhost:4190
connect: Connection refused
unable to connect to server at /usr/bin/sieveshell line 170.
[harold at newmick ~]$

I checked /etc/services, and it's 4190 and not 2000.  But 4190 fails just the same.

Harold