Applicable to:
- Plesk Onyx for Linux
Symptoms
-
Unable to change settings such as Filters, blacklists, whitelists in Horde webmail, it fails with the following errors:
-
In Horde webmail:
CONFIG_TEXT: Script not updated: There was an error activating the script. The driver said: Failed to establish TLS connection
-
In
/var/log/maillog
:CONFIG_TEXT: dovecot: managesieve-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, TLS handshaking: SSL_accept() failed: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca: SSL alert number 48, session=<fS90ehgtnAB/AAAB>
-
-
Dovecot server is selected at Plesk > Tools & Settings > Mail Server Settings > IMAP/POP3 server.
Cause
A self-Signed SSL certificate is used along with PHP 5.6 to run the Horde webmail.
Resolution
As a workaround, disable TLS encryption for sieve in the Horde configuration file:
-
Log in to the Plesk server via SSH.
-
Open the file
/usr/share/psa-horde/ingo/config/backends.php
in a text editor. -
Find the section
$backends['sieve'] = array(
-
Change the record:
CONFIG_TEXT: 'usetls' => true
to
CONFIG_TEXT: 'usetls' => false
-
Save the file with changes.
-
Create the additional Dovecot configuration file to specify "
ssl=no
" inside the "protocol sieve {}
" section:# cat /etc/dovecot/conf.d/99-horde-sieve-tlsfix.conf
protocol sieve {
ssl = no
} -
Restart Dovecot service:
# service dovecot restart
Comments
2 comments
That problem may be a wrong installation or application of your SSL certificat at the mail layer of the Plesk server. Check your certificat with a SSL checker, if you notice any error, re-apply the certificat to the mail Layer on the server and restart Dovecot. That solve my problem twice.
Hi Christian Grenier,
Thank you for the comment! I'm sure it can be helpful for other users experiencing similar issues.
Please sign in to leave a comment.