<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dovecot - Spheron1</title>
	<atom:link href="https://www.spheron1.uk/tag/dovecot/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.spheron1.uk</link>
	<description></description>
	<lastBuildDate>Tue, 13 Jan 2026 11:01:44 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>cPanel Dovecot 2.4 upgrade breaking Windows 7 clients</title>
		<link>https://www.spheron1.uk/2026/01/13/cpanel-dovecot-2-4-upgrade-breaking-windows-7-clients/</link>
					<comments>https://www.spheron1.uk/2026/01/13/cpanel-dovecot-2-4-upgrade-breaking-windows-7-clients/#respond</comments>
		
		<dc:creator><![CDATA[digitaldisaster]]></dc:creator>
		<pubDate>Tue, 13 Jan 2026 11:01:44 +0000</pubDate>
				<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[ciphers]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Diffie-Hellman]]></category>
		<category><![CDATA[Dovecot]]></category>
		<category><![CDATA[Dovecot 2.3]]></category>
		<category><![CDATA[Dovecot 2.4]]></category>
		<category><![CDATA[ECDSA]]></category>
		<category><![CDATA[IMAP]]></category>
		<category><![CDATA[POP3]]></category>
		<category><![CDATA[RSA]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[SSL certificate]]></category>
		<category><![CDATA[SSL/TLS]]></category>
		<category><![CDATA[TLS]]></category>
		<category><![CDATA[WHM]]></category>
		<category><![CDATA[Windows 7]]></category>
		<guid isPermaLink="false">https://www.spheron1.uk/?p=5250</guid>

					<description><![CDATA[<p>cPanel recently rolled out an upgrade from Dovecot 2.3 to 2.4 which has accidentally broken old IMAP and POP3 clients, such as those running on Windows 7 as it removes some key configuration needed to support certain SSL/TLS ciphers. For example, a Microsoft Outlook client running on Windows 7 would report: Receiving reported error (0x800CCC1A) Your server does not support&#46;&#46;&#46;</p>
<p>The post <a href="https://www.spheron1.uk/2026/01/13/cpanel-dovecot-2-4-upgrade-breaking-windows-7-clients/">cPanel Dovecot 2.4 upgrade breaking Windows 7 clients</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph">cPanel recently rolled out an upgrade from Dovecot 2.3 to 2.4 which has accidentally broken old IMAP and POP3 clients, such as those running on Windows 7 as it removes some key configuration needed to support certain SSL/TLS ciphers.</p>



<p class="wp-block-paragraph">For example, a Microsoft Outlook client running on Windows 7 would report:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Receiving reported error (0x800CCC1A) Your server does not support the connection encryption type you have specified. Try changing the encryption method. Contact your mai server administrator or Internet service provider (ISP) for additional assistance.&#8221;</p>
</blockquote>



<p class="has-luminous-vivid-amber-background-color has-background wp-block-paragraph">Despite the minor version number increment, Dovecot 2.4 is a major update which has significant breaking changes to the structure of the configuration files and thus the old configuration files need to be carefully converted in order to work with Dovecot 2.4.<br><br>Dovecot 2.4 should really have been called Dovecot 3.0. I have no idea why Open-Xchange considered a minor version number bump to be appropriate for this release.</p>



<p class="wp-block-paragraph">The default TLS ciphers enabled for Dovecot (both 2.3 and 2.4) on cPanel are:</p>



<ul class="wp-block-list">
<li>ECDHE-ECDSA-AES128-GCM-SHA256</li>



<li>ECDHE-RSA-AES128-GCM-SHA256</li>



<li>ECDHE-ECDSA-AES256-GCM-SHA384</li>



<li>ECDHE-RSA-AES256-GCM-SHA384</li>



<li>ECDHE-ECDSA-CHACHA20-POLY1305</li>



<li>ECDHE-RSA-CHACHA20-POLY1305</li>



<li>DHE-RSA-AES128-GCM-SHA256</li>



<li>DHE-RSA-AES256-GCM-SHA384</li>
</ul>



<p class="wp-block-paragraph">This is almost identical to the very useful <a href="https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_(recommended)" title="">Mozilla &#8220;Intermediate&#8221; list</a>, except that the DHE-RSA-CHACHA20-POLY1305 cipher is missing.</p>



<p class="wp-block-paragraph">Windows 7 has very poor support for modern cryptography since it went end-of-life in January 2020 and so hasn&#8217;t received any updates for 6 years now.</p>



<p class="wp-block-paragraph">The supported cipher suites advertised in the SSL/TLS handshake by a Windows 7 client device are:</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><tbody><tr><td><strong>IANA name</strong></td><td><strong>OpenSSL name</strong></td></tr><tr><td>TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384</td><td>ECDHE-RSA-AES256-SHA384</td></tr><tr><td>TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256</td><td>ECDHE-RSA-AES128-SHA256</td></tr><tr><td>TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA</td><td>ECDHE-RSA-AES256-SHA</td></tr><tr><td>TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA</td><td>ECDHE-RSA-AES128-SHA</td></tr><tr><td>TLS_DHE_RSA_WITH_AES_256_GCM_SHA384</td><td>DHE-RSA-AES256-GCM-SHA384</td></tr><tr><td>TLS_DHE_RSA_WITH_AES_128_GCM_SHA256</td><td>DHE-RSA-AES128-GCM-SHA256</td></tr><tr><td>TLS_RSA_WITH_AES_256_GCM_SHA384</td><td>AES256-GCM-SHA384</td></tr><tr><td>TLS_RSA_WITH_AES_128_GCM_SHA256</td><td>AES128-GCM-SHA256</td></tr><tr><td>TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384</td><td>ECDHE-ECDSA-AES256-GCM-SHA384</td></tr><tr><td>TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256</td><td>ECDHE-ECDSA-AES128-GCM-SHA256</td></tr><tr><td>TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384</td><td>ECDHE-ECDSA-AES256-SHA384</td></tr><tr><td>TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256</td><td>ECDHE-ECDSA-AES128-SHA256</td></tr><tr><td>TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA</td><td>ECDHE-ECDSA-AES256-SHA</td></tr><tr><td>TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA</td><td>ECDHE-ECDSA-AES128-SHA</td></tr><tr><td>TLS_RSA_WITH_AES_256_CBC_SHA256</td><td>AES256-SHA256</td></tr><tr><td>TLS_RSA_WITH_AES_128_CBC_SHA256</td><td>AES128-SHA256</td></tr><tr><td>TLS_RSA_WITH_AES_256_CBC_SHA</td><td>AES256-SHA</td></tr><tr><td>TLS_RSA_WITH_AES_128_CBC_SHA</td><td>AES128-SHA</td></tr><tr><td>TLS_DHE_DSS_WITH_AES_256_CBC_SHA256</td><td>DHE-DSS-AES256-SHA256</td></tr><tr><td>TLS_DHE_DSS_WITH_AES_128_CBC_SHA256</td><td>DHE-DSS-AES128-SHA256</td></tr><tr><td>TLS_DHE_DSS_WITH_AES_256_CBC_SHA</td><td>DHE-DSS-AES256-SHA</td></tr><tr><td>TLS_DHE_DSS_WITH_AES_128_CBC_SHA</td><td>DHE-DSS-AES128-SHA</td></tr><tr><td>TLS_RSA_WITH_3DES_EDE_CBC_SHA</td><td>DES-CBC3-SHA</td></tr><tr><td>TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA</td><td>EDH-DSS-DES-CBC3-SHA</td></tr><tr><td>TLS_RSA_WITH_RC4_128_SHA</td><td>RC4-SHA</td></tr><tr><td>TLS_RSA_WITH_RC4_128_MD5</td><td>RC4-MD5</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">Most of these are now considered insecure and thus are not enabled on the server side.</p>



<p class="wp-block-paragraph">The overlap between the TLS ciphers supported by the client and the TLS ciphers which are allowed on the server side is just four ciphers:</p>



<ul class="wp-block-list">
<li>ECDHE-ECDSA-AES128-GCM-SHA256</li>



<li>ECDHE-ECDSA-AES256-GCM-SHA384</li>



<li>DHE-RSA-AES256-GCM-SHA384</li>



<li>DHE-RSA-AES128-GCM-SHA256</li>
</ul>



<p class="wp-block-paragraph">Unfortunately, the two ECDHE-ECDSA-* ones will only work if you are using ECDSA SSL certificates. If you are using RSA certificates then you can only use the DHE-RSA-* ones.<br>Still, we have TLS ciphers which are supported by both the client and the server so this should be working&#8230; why isn&#8217;t it?</p>



<p class="wp-block-paragraph">Previously under Dovecot 2.3, cPanel had the following configuration in /etc/dovecot/dovecot.conf for the Diffie-Hellman parameters file necessary for the DHE-RSA-* ciphers to function:</p>



<pre class="wp-block-code"><code># SSL DH parameters
# Generate new params with `openssl dhparam -out /etc/dovecot/dh.pem 4096`
# Or migrate from old ssl-parameters.dat file with the command dovecot
# gives on startup when ssl_dh is unset.
ssl_dh = &lt;/etc/dovecot/dh.pem</code></pre>



<p class="wp-block-paragraph">In Dovecot 2.4 this configuration directive changed to &#8220;ssl_server_dh_file&#8221; (see <a href="https://doc.dovecot.org/2.4.2/installation/upgrade/2.3-to-2.4.html#converted-settings">https://doc.dovecot.org/2.4.2/installation/upgrade/2.3-to-2.4.html#converted-settings</a>) and it isn&#8217;t present anywhere in /etc/dovecot/ post-upgrade on cPanel servers.</p>



<p class="has-pale-cyan-blue-background-color has-background wp-block-paragraph">As a random, aside; the old configuration &#8220;ssl_dh&#8221; option value was for the contents of the certificate, which could be read from a file with the redirect. The new &#8220;ssl_server_dh_file&#8221; option takes file path as the value, which Dovecot then reads itself. As such, when moving from 2.3 to 2.4 it&#8217;s important to ensure that you don&#8217;t copy over the less than symbol that precedes the path, otherwise Dovecot will try to read the contents of that file and treat those as the path that it should use.</p>



<p class="wp-block-paragraph">In order to add the configuration for the Diffie-Hellman parameters file to the Dovecot 2.4 configuration yourself, you will need to make use of the cPanel configuration file templating system, otherwise any manual changes to the configuration files in /etc/dovecot/ will get overwritten the next time cPanel regenerates them.</p>



<p class="wp-block-paragraph">First check if the /var/cpanel/templates/dovecot/main.local file already exists (for example if you already have custom Dovecot configuration or if you are using Imunify360). If not, then copy the file /var/cpanel/templates/dovecot/main.default to /var/cpanel/templates/dovecot/main.local and edit it in your favour editor to add the following configuration to the bottom of the file:</p>



<pre class="wp-block-code"><code># Required for DHE-RSA-AES128-GCM-SHA256 and DHE-RSA-AES256-GCM-SHA384 ciphers needed for Windows 7 clients to work
ssl_server_dh_file = /etc/dovecot/dh.pem</code></pre>



<p class="wp-block-paragraph">Once you have modified the /var/cpanel/templates/dovecot/main.local file, you can run &#8220;/scripts/builddovecotconf&#8221; to regenerate the configuration files from your new template, followed by &#8220;/scripts/restartsrv_dovecot&#8221; to restart the Dovecot service.</p>



<p class="wp-block-paragraph">IMAP and POP3 clients running on old devices such as Windows 7 should once again be able to connect as the DHE-RSA-* TLS ciphers that they rely on are functioning again.</p><p>The post <a href="https://www.spheron1.uk/2026/01/13/cpanel-dovecot-2-4-upgrade-breaking-windows-7-clients/">cPanel Dovecot 2.4 upgrade breaking Windows 7 clients</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.spheron1.uk/2026/01/13/cpanel-dovecot-2-4-upgrade-breaking-windows-7-clients/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>cPanel breaking Dovecot in 11.40</title>
		<link>https://www.spheron1.uk/2014/01/02/cpanel-breaking-dovecot-in-11-40/</link>
		
		<dc:creator><![CDATA[digitaldisaster]]></dc:creator>
		<pubDate>Thu, 02 Jan 2014 22:56:59 +0000</pubDate>
				<category><![CDATA[cPanel/WHM]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Dovecot]]></category>
		<guid isPermaLink="false">https://www.spheron1.uk/?p=675</guid>

					<description><![CDATA[<p>Recently I&#8217;ve had a couple of cases where cPanel randomly breaks Dovecot with one of the cPanel 11.40.x updates. In one of these cases, cPanel actually uninstalled the Dovecot RPM as part of the automated, overnight upcp process! In the other cases, Dovecot was still running and accepting connections, but POP3/IMAP clients were getting messages that their passwords were wrong.&#46;&#46;&#46;</p>
<p>The post <a href="https://www.spheron1.uk/2014/01/02/cpanel-breaking-dovecot-in-11-40/">cPanel breaking Dovecot in 11.40</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Recently I&#8217;ve had a couple of cases where cPanel randomly breaks Dovecot with one of the cPanel 11.40.x updates.</p>
<p>In one of these cases, cPanel actually uninstalled the Dovecot RPM as part of the automated, overnight upcp process! In the other cases, Dovecot was still running and accepting connections, but POP3/IMAP clients were getting messages that their passwords were wrong.</p>
<p>Reinstalling Dovecot if upcp has decided to remove it for some reason is quite simple &#8211; just use the cPanel script to check and repair their RPMs:</p>
<blockquote><p>/scripts/check_cpanel_rpms &#8211;fix</p></blockquote>
<p>Whilst the Dovecot RPM is now installed, chances are that Dovecot is still left in a broken state with any login attempt failing and messages like this in /var/log/maillog:</p>
<blockquote><p>dovecot: auth: Fatal: execv(/usr/local/cpanel/bin/dovecot-wrap) failed: Permission denied</p></blockquote>
<p>If you look at the ownership and permissions on /usr/local/cpanel/bin/dovecot-wrap, you&#8217;ll find that it&#8217;s root:root instead of root:dovecot and so you need to run the following in order to fix the ownership:</p>
<blockquote><p>chgrp dovecot /usr/local/cpanel/bin/dovecot-wrap</p></blockquote>
<p>At this point, you won&#8217;t be seeing any of the permission errors in the maillog, but you&#8217;ll still be seeing failed authentication attempts. Now you want to trick cPanel into thinking that the RPM has been removed so that it will try and re-install it. This should mean that the scripts from the RPM are executed without replacing any of the files:</p>
<blockquote><p>rpm -e &#8211;nodeps &#8211;justdb dovecot<br />
/scripts/check_cpanel_rpms &#8211;fix </p></blockquote>
<p>If you are still having problems at this point, then try running the following to set the setuid flag for the owner on the script:</p>
<blockquote><p>chmod u+s /usr/local/cpanel/bin/dovecot-wrap</p></blockquote>
<p>Then you just need to re-run the above RPM trick and Dovecot should spring back into life with successful authentication attempts being logged into the maillog.</p>
<p>According to cPanel support, this is a &#8220;known issue&#8221; which has somehow made its way through the EDGE, CURRENT and RELEASE tiers into the STABLE tier&#8230;</p><p>The post <a href="https://www.spheron1.uk/2014/01/02/cpanel-breaking-dovecot-in-11-40/">cPanel breaking Dovecot in 11.40</a> first appeared on <a href="https://www.spheron1.uk">Spheron1</a>.</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 0/80 objects using Redis
Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching using Redis

Served from: spheron1.uk @ 2026-05-30 11:03:05 by W3 Total Cache
-->