Hello,
I recently installed the Plugins "RoundCubePlugins".
No problem to use the diffents RoundCube Plugins except the ManageSieve.
In the tab "Filters", a message appears : "Unable to connect to managesieve".
- The Service of ManageSieve (:4190) is active.
- No problem to connect telnet with Imap and Pop (telnet localhost 143 ..)
After some research, the log said :
General log :
- dovecot: managesieve-login: Aborted login (auth failed, 1 attempts in 4 secs): user=<test@XXX.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=<ayHXnHEA4wB/AAAB>[12-Aug-2014 19:44:10 +0200]: PHP Error: Unable to connect to managesieve on localhost:4190 in /var/www/imscp/gui/public/tools/webmail/plugins/managesieve/managesieve.php on line 308 (GET /webmail/?_task=settings&_action=plugin.managesieve)[12-Aug-2014 17:44:10 UTC] Not currently in AUTHORISATION state (1):
RoundCube/Logs :
- [13-Aug-2014 16:51:41 +0200]: S: OK "Dovecot ready."
- [13-Aug-2014 16:51:41 +0200]: C: CAPABILITY
- [13-Aug-2014 16:51:41 +0200]: S: "IMPLEMENTATION" "Dovecot Pigeonhole"
- [13-Aug-2014 16:51:41 +0200]: S: "SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave"
- [13-Aug-2014 16:51:41 +0200]: S: "NOTIFY" "mailto"
- [13-Aug-2014 16:51:41 +0200]: S: "SASL" "PLAIN"
- [13-Aug-2014 16:51:41 +0200]: S: "STARTTLS"
- [13-Aug-2014 16:51:41 +0200]: S: "VERSION" "1.0"
- [13-Aug-2014 16:51:41 +0200]: S: OK "Capability completed."
- [13-Aug-2014 16:51:41 +0200]: C: AUTHENTICATE "PLAIN" "AHRlc3RAaHVpc3NpZXItbWFybmUuY29tAHRlc3Q1Ng=="
- [13-Aug-2014 16:51:45 +0200]: S: NO "Authentication failed."
- [13-Aug-2014 16:51:45 +0200]: C: LOGOUT
- [13-Aug-2014 16:51:45 +0200]: S: OK "Logout completed."
I did extensive research on the internet but I have not found anything conclusive...
I reinstalled the system twice without getting it to work has ..
The result of commands dovecot -a and dovecot -n seems normal.
I Tried :
- Reinstall Dovecot Package
- Debugging PHP manageseive.php (User and password sended as correct)
- Telnet Connect with IMAP is good
- Telnet Connect to localhost 4190 is bad (I have test AUTHENTICATE PLAIN with sieve-auth-command.pl)
->> Reponse : NO "Authentication failed."
- Try Connect with managesieve_usetls = true (same error..)
Have you ever encountered this problem or have an idea?
Thank you in advance!
Florian
PS : Sorry for my English Language....