Roundcube Community Forum

 

Managesieve installation : unable to locate server

Started by MrEddy, July 21, 2013, 03:49:12 PM

Previous topic - Next topic

MrEddy

Hi,

I just installed Roundcube 0.9.2 using Softaculous on my host (Westhost) and tried to use Managesieve (which is included in the plugins folder by default with softaculous)

Anyway, I get this error in my logs when clicking on "Filters" in Roundcube settings :

[21-Jul-2013 20:48:54 Europe/Paris] Connection refused (111):
[21-Jul-2013 20:48:54 +0200]: PHP Error: Unable to connect to managesieve on localhost:4190 in /home/mynameonwesthost/public_html/roundcube/plugins/managesieve/managesieve.php on line 308 (GET /roundcube/?_task=settings&_action=plugin.managesieve)
[21-Jul-2013 20:48:54 Europe/Paris] Not currently in AUTHORISATION state (1):
[21-Jul-2013 20:48:54 Europe/Paris] Not currently in AUTHORISATION state (1):
[21-Jul-2013 20:48:54 Europe/Paris] Not currently connected (1):
[21-Jul-2013 20:48:54 Europe/Paris] Not currently connected (1):


I tried different settings in the confi.inc.php but none worked out :
// managesieve server port. When empty the port will be determined automatically
// using getservbyname() function, with 4190 as a fallback.
$rcmail_config['managesieve_port'] = null;

// managesieve server address, default is localhost.
// Replacement variables supported in host name:
// %h - user's IMAP hostname
// %n - http hostname ($_SERVER['SERVER_NAME'])
// %d - domain (http hostname without the first part)
// For example %n = mail.domain.tld, %d = domain.tld
$rcmail_config['managesieve_host'] = 'localhost';

I tried port 2000, 993 (this one gets me a 500 internal server error), and 4190 by default of course.
And I tried host '%h' and localhost (and combination of both) but same error again and again.

How is it supposed to be set up ?

Thank you for any help !

JohnDoh

you need to have a managesieve server running on your mail server to connect to.

a managesieve server is normally (i think) part of your MDA (like Cyrus or Dovecot).
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

MrEddy