Author Topic: Sieverules can not read from socket  (Read 6112 times)

Offline Goma

  • Newbie
  • *
  • Posts: 2
Sieverules can not read from socket
« on: February 17, 2011, 10:29:32 PM »
I'm very new to RoundCube and its plugins, but trying to configure sieverules with dovecot to work.  I've spent almost 10 hours on it, but it still doesn't work and outputs "Unable to connect to Sieve Server" message on the screen and logs bellow in logs/errors:'(

Failed to read from socket ():
Failed to write to socket: connection lost ():


I've added settings below to main.inc.php

$rcmail_config['plugins'] = array(
'sieverules'
);

and

$rcmail_config['sieverules_port'] = 2000;
$rcmail_config['managesieve_host'] = 'localhost';

to config.inc.php.

"Telnet localhost 2000" works fine.

Could anyone tell me what the problem would be and give me hints to solve this?

Thanks in advance.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,855
Sieverules can not read from socket
« Reply #1 on: February 18, 2011, 03:17:52 AM »
It looks like you might have mixed up the configs from the sieverules and managesieve plugins, for sieverules

Code: [Select]
$rcmail_config['managesieve_host'] = 'localhost';
should be

Code: [Select]
$rcmail_config['sieverules_host'] = 'localhost';
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline Goma

  • Newbie
  • *
  • Posts: 2
Sieverules can not read from socket
« Reply #2 on: February 18, 2011, 05:03:54 AM »
Thank you, John.
You're so right, I've read too much posts and articles about sieve (I'm also new to sieve:confused:), and tried too many inappropriate settings.  This is one of those...

I found both
Code: [Select]
$rcmail_config['sieverules_host'] = 'localhost';
and
Code: [Select]
$rcmail_config['managesieve_host'] = 'localhost';
had been set, so deleted the second one.

Any other things you think of?