Roundcube Community Forum

 

Unable to connect to managesieve server

Started by madsurgeon, January 17, 2010, 01:07:57 PM

Previous topic - Next topic

madsurgeon

Hi there

My managesieve server is working just fine.
I can prove that manually and also using avelsieve from squirrelmail.

Upon manual connection dovecot-info.log sais:
2010-01-17 18:55:42 managesieve-login: Info: Login: user=, method=PLAIN, rip=84.72.60.xxx, lip=217.150.250.xxx, TLS

With avelsieve it sais:
2010-01-17 18:51:38 managesieve-login: Info: Login: user=, method=PLAIN, rip=217.150.250.xxx, lip=217.150.250.xxx, TLS

Obviously, the server responds either way.

However, when trying to connect from roundcube managesieve, I get (twice indeed):

2010-01-17 19:03:20 managesieve-login: Info: Disconnected (no auth attempts): rip=127.0.0.1, lip=217.150.250.xxx
2010-01-17 19:03:20 managesieve-login: Info: Disconnected (no auth attempts): rip=127.0.0.1, lip=217.150.250.xxx

I have configured TLS to be true but it's not shown in the log.

Can someone help me on this please?

madsurgeon

#1
A raw solution is to just disable TLS in /etc/dovecot/dovecot.conf
protocol managesieve {
  disable_plaintext_auth = no
}

But the reason for the trouble is here:

PHP Error: Failed to load config from /var/lib/roundcube/plugins//managesieve/config.inc.php (GET /roundcube/?_task=settings&_action=plugin.managesieve)

What's wrong here and how can I correct this?

madsurgeon

How simple it can be:

cd /var/lib/roundcube/plugins/managesieve/
mv config.inc.php.dist config.inc.php

:D

saurav_sss

nable to connect to server error message shows, when I click on Roundcube setting and filter option.
I have successfully tested, telnet localhost 4190.

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
"IMPLEMENTATION" "Dovecot"
"SIEVE" "comparator-i;ascii-numeric fileinto reject envelope encoded-character vacation subaddress relational regex imap4flags copy include variables body enotify environment mailbox date imapflags"
"STARTTLS"
"NOTIFY" "mailto"
"SASL" "PLAIN LOGIN"
"VERSION" "1.0"
OK "Dovecot ready."


/var/www/html/rcmail/plugins/managesieve/config.inc.php

$config['managesieve_port'] = 4190;
$config['managesieve_host'] = 'localhost';
$config['managesieve_auth_type'] = 'plain';
$config['managesieve_auth_cid'] = null;
$config['managesieve_usetls'] = false;
$config['managesieve_default'] = '/var/lib/dovecot/sieve/default.sieve';
$config['managesieve_script_name'] = 'managesieve';

please help me to fix this issue.

Thanks and Regards,
Saurav_sss