Topic: Unable to connect to managesieve from Roundcube after update
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.2.1 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello,
I just updated my iRedMail server from version 0.9.9 to latest 1.2.1 (I updated through all versions). Since the update I am not able to manage managesieve rules from Roundcube. Web page says "Unable to connect".
/var/log/maillog:
Jun 19 22:58:40 mail roundcube: <bjnpe2f9> [1] SELECT `vars`, `ip`, `changed`, now() AS ts FROM `session` WHERE `sess_id` = 'bjnpe2f9nsarmfch660acqtal6';
Jun 19 22:58:40 mail roundcube: <bjnpe2f9> [2] SELECT * FROM `users` WHERE `user_id` = '2';
Jun 19 22:58:42 mail roundcube: <bjnpe2f9> PHP Error: "Authentication failed." (GET /mail/?_task=settings&_action=plugin.managesieve)
Jun 19 22:58:42 mail roundcube: <bjnpe2f9> PHP Error: Unable to connect to managesieve on 127.0.0.1:4190 in /opt/www/roundcubemail-1.3.8/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php on line 223 (GET /mail/?_task=settings&_action=plugin.managesieve)
Jun 19 22:58:42 mail roundcube: <bjnpe2f9> PHP Error: Not currently in AUTHORISATION state (GET /mail/?_task=settings&_action=plugin.managesieve)
Jun 19 22:58:42 mail roundcube: <bjnpe2f9> [3] SELECT `vars`, `ip`, `changed`, now() AS ts FROM `session` WHERE `sess_id` = 'bjnpe2f9nsarmfch660acqtal6';
/var/log/dovecot/sieve.log
Jun 19 22:58:42 mail dovecot: managesieve-login: Aborted login (auth failed, 1 attempts in 2 secs): user=<user@domain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS, session=<abteKHaooMp/AAAB>
I think it is somehow related to dovecot vs. TLS vs. non tls but I cannot figure out where the issue is.
Could you please help?
Thank you,
P.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.