hMailServer IssueTracker

Display defect

ID
306
Short summary DNSBL query doesn't check against all returned values
Created 2010-04-27 05:40:58
Created by ras07
Status Resolved
Priority 4 - Low
Quick link

Applies to

Found in 5.3.2 build 1769
Resolved in 5.3.3 build 1846

Problem

Some DNS blacklists (dnsbl.sorbs.net and hostkarma.junkemailfilter.com, to name two) can return more than one address, like so:

"DNS lookup: 136.22.105.85.hostkarma.junkemailfilter.com, 2 addresses found: 127.0.1.1, 127.0.0.2, Match: False"
"DNS lookup: 49.211.120.89.hostkarma.junkemailfilter.com, 2 addresses found: 127.0.0.2, 127.0.1.1, Match: True"

hMailServer seems to only check the expected return value(s) against the first address returned by the DNS query. For example, the return values for the third and fourth entries above are identical except that the order is reversed. However, one returned a match and the other didn't. (In that particular case "127.0.1.1" means something else entirely; not something you'd want to trigger on.)

For the record, the value I entered in the Expected Result field for this DBL is "127.0.0.2|127.0.0.4".

Issue steps

By martin, 2010-05-02 19:53:29

Fixed in hMailServer 5.3.3, build 1846.


You must be logged on to add a step. Log on now.