hMailServer 6.2.19: custom DNS server broke every lookup since 6.2.16
-
Fresh installations of this build failed. 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.
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.
6.2.16 moved name resolution onto the asynchronous
DnsQueryExand gave the custom-DNS-server entry a destination port of 53. ADNS_ADDRcarries a fullSOCKADDR, 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 asHM5507 The IP address for SpamAssassin could not be resolved, 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.What the upgrade involved
The database schema moves from 6005 to 6011. DBUpdater applies it. Take a backup first. Settings are preserved. The
[Settings]INI values move into the database for remote administration; the file still wins where both carry a value.Also in this release
- Active Directory can now create accounts, not just link them.
Settings.PreviewDirectorySyncandSettings.ApplyDirectorySyncread 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. - Sieve
imap4flagsnow reaches the message.setflag,addflag,removeflagand the:flagstag were parsed and evaluated, then discarded at delivery. They are now applied to the stored message, andimap4flagshas moved into the ManageSieve capability line. Only the five system flags can be stored; a keyword is logged rather than dropped in silence. GetUniqueMessageIDcould hand out the same UID twice, which makes a client show one message in place of another.- 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.
Known issue: #26, partial
FETCH BODY[]<offset.length>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. - Active Directory can now create accounts, not just link them.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login