<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[hMailServer 6.2.5: default installs could not connect to their own database]]></title><description><![CDATA[<p dir="auto">hMailServer 6.2.5 fixed two faults that stopped a default install from connecting to its own database. Anyone who installed with the shipped defaults, an internal SQL Server Compact database with DPAPI secret protection, was affected.</p>
<p dir="auto"><strong>Critical fixes</strong></p>
<ul>
<li><strong>DPAPI database-password truncation (SQL CE error 25028).</strong> <code>IniFileSettings::ReadIniSettingString_</code> used a fixed 255-character buffer, so <code>GetPrivateProfileString</code> truncated the ~356-character DPAPI-protected database-password envelope. The truncated blob failed to decrypt, which yielded an empty password and SQL CE error 25028, Authentication failed. The buffer is now 4096 characters, which also covers long OAuth2 HMAC secrets and the password pepper.</li>
<li><strong>Fresh-install database version, 6004 to 6005.</strong> The CreateTables scripts for MSSQL, MySQL and PostgreSQL still stamped <code>hm_dbversion = 6004</code> while the server required 6005, so a brand-new install reported "database too old". SQL CE uses the MSSQL script, so it was caught by this too. The <code>recipientdsnnotify</code> column was already present. Only the version row was stale.</li>
</ul>
<p dir="auto"><strong>Validation</strong></p>
<p dir="auto">Checked end to end on a Windows Server 2025 Active Directory domain controller. A default internal-database install connects. AD authentication passes through COM <code>ValidatePassword</code> in both the DNS <code>domain.tld</code> and NetBIOS <code>DOMAIN\user</code> forms, and through a real IMAP LOGIN, correct password returning OK and wrong returning NO.</p>
<p dir="auto"><strong>Control Panel</strong></p>
<p dir="auto">The .NET 8 WPF Control Panel (<code>hMailCP.exe</code>) reached full settings parity with the classic Administrator here. The Server Status page (version, server state, database details, statistics, session counts, uptime, and a configuration-warnings panel that includes open-relay detection) and the per-account rule criteria and action editor are validated and wired into navigation.</p>
<p dir="auto">Windows x64 only: one installer, <code>hMailServer-6.2.5-x64.exe</code>, bundling the server, the Control Panel and the .NET 8 Desktop Runtime bootstrapper.</p>
<p dir="auto"><a href="https://www.progressiverobot.com/hmailserver-downloads/" rel="nofollow ugc">Full release notes, checksums and signatures</a></p>
]]></description><link>https://www.hmailserver.co.uk/topic/28197/hmailserver-6.2.5-default-installs-could-not-connect-to-their-own-database</link><generator>RSS for Node</generator><lastBuildDate>Wed, 23 Sep 2026 04:32:04 GMT</lastBuildDate><atom:link href="https://www.hmailserver.co.uk/topic/28197.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Jun 2026 13:50:37 GMT</pubDate><ttl>60</ttl></channel></rss>