<?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.19: custom DNS server broke every lookup since 6.2.16]]></title><description><![CDATA[<p dir="auto"><strong>Fresh installations of this build failed.</strong> Database creation broke on the built-in SQL Server Compact backend, which is the default, and most likely on MySQL, and a silent install then hung on a hidden message box instead of reporting the failure. Upgrades of existing installations were unaffected. 6.2.20 fixed both.</p>
<p dir="auto">For anyone already running it: if a custom DNS server was configured, every DNS lookup hMailServer made had been failing since 6.2.16. This release fixed that. Installations with no custom DNS server were never affected, because the server list is only built when one is set.</p>
<p dir="auto">6.2.16 moved name resolution onto the asynchronous <code>DnsQueryEx</code> and gave the custom-DNS-server entry a destination port of 53. A <code>DNS_ADDR</code> carries a full <code>SOCKADDR</code>, so setting the port looks correct. It is not: the DNS client supplies the port itself, and with port 53 every query returns status 87 and no records. MX lookups for outbound delivery, DNSBL, SPF and SURBL all failed. It surfaced loudest as <code>HM5507 The IP address for SpamAssassin could not be resolved</code>, which is how #25 came in. A regression test now points DNSServer at TEST-NET-1 (192.0.2.1) and requires the lookup to time out; a timeout proves a packet left the machine.</p>
<p dir="auto"><strong>What the upgrade involved</strong></p>
<p dir="auto">The database schema moves from 6005 to 6011. DBUpdater applies it. Take a backup first. Settings are preserved. The <code>[Settings]</code> INI values move into the database for remote administration; the file still wins where both carry a value.</p>
<p dir="auto"><strong>Also in this release</strong></p>
<ul>
<li>Active Directory can now create accounts, not just link them. <code>Settings.PreviewDirectorySync</code> and <code>Settings.ApplyDirectorySync</code> read an LDAP directory and create or update the mailboxes it says should exist, with a Control Panel page and an optional unattended schedule. A domain takes part only if its Active Directory domain name is set, so provisioning is opt-in per domain. Nothing is ever deleted.</li>
<li>Sieve <code>imap4flags</code> now reaches the message. <code>setflag</code>, <code>addflag</code>, <code>removeflag</code> and the <code>:flags</code> tag were parsed and evaluated, then discarded at delivery. They are now applied to the stored message, and <code>imap4flags</code> has moved into the ManageSieve capability line. Only the five system flags can be stored; a keyword is logged rather than dropped in silence.</li>
<li><code>GetUniqueMessageID</code> could hand out the same UID twice, which makes a client show one message in place of another.</li>
<li>An account address containing a colon accepted mail at RCPT TO, then failed when the message was filed: the local part becomes a directory name in the message store.</li>
</ul>
<p dir="auto">Known issue: #26, partial <code>FETCH BODY[]&lt;offset.length&gt;</code> against 6.2.18, does not reproduce here against new tests that reassemble whole messages from chunks over FETCH and UID FETCH. If you can still reproduce it, post an IMAP protocol log.</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/28177/hmailserver-6.2.19-custom-dns-server-broke-every-lookup-since-6.2.16</link><generator>RSS for Node</generator><lastBuildDate>Wed, 23 Sep 2026 04:32:36 GMT</lastBuildDate><atom:link href="https://www.hmailserver.co.uk/topic/28177.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 15 Aug 2026 07:47:06 GMT</pubDate><ttl>60</ttl></channel></rss>