Topic: Roundcube: 'Unable to connect to managesieve server'
iRedMail 0.9.8
OS: FreeBSD 11.1 (Not in jail)
RAM: Tons - 8GB+
Web server: Nginx
Database: MySQL
Error: 'Unable to connect to managesieve server' when clicking 'Filters' in Roundcube settings
----
Hello,
I'm experiencing issues with Roundcube connecting to the Managesieve plugin on a fresh iRedAdmin solution. When logging into Roundcube, going into settings then clicking 'Filters' I get a 'Unable to connect to managesieve server' error.
This happens on a completely fresh iRedMail 0.9.8 install (+MySQL & Nginx installed by iRedMail installer), installed onto a fresh FreeBSD 11.1 installation (not in a jail). No non-default packages have been installed other than iRedMail. This is also occuring with the default SSL certs provided by iRedMail, I've also changed all the certs out to my own SSL certs but the same issue occurs.
I was wondering if this might be an issue with the machine I was running it on, so I've spun up a FreeBSD 11.1 virtual server on a seperate machine. Installed iRedAdmin and again the same error occurs with default settings (again using MySQL and Nginx)
Sieve is listening on port 4190. I've checked Managesieve's config at /usr/local/www/roundcube/plugins/managesieve/config.inc.php and it is configured to communicate with port 4190 rather than the older port 2000 that older versions used.
It shouldn't make a difference, but I've also tested this with a firewall on and off. Same issue in both scenarios.
I've made sure there is enough RAM for everything to work with - both installs I've tried have had a minimum of 4GB available to them. The problem still continues after disabling and uninstalling Amavisd, ClamAV and SpamAssasin.
What's interesting, is I have a very similar setup (FreeBSD 11.1 with 512MB of RAM, Amavisd, ClamAV and SpamAssasin disabled) which has been running for about a year or two without any issues. The only difference between these setups is the old (working) server is running Apache, but the new server is Nginx, although I don't think that will be causing this issue.The version of iRedAdmin running on the working server is iRedMail 0.9.6.
This issue also seems to cause POP and IMAP connections to not work with SSL. If I disable the need for SSL - POP, IMAP and the Filters section in Roundcube start working again.
As this is happening on two seperate installs without any modifications from myself. Could this be a bug?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.