https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8264

            Bug ID: 8264
           Summary: URIDNSBL uridns(bl|sub) tflag ns rules do nothing
           Product: Spamassassin
           Version: 4.0.1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Plugins
          Assignee: dev@spamassassin.apache.org
          Reporter: wbre...@gmx.net
  Target Milestone: Undefined

I tried to add a basic URIDNSBL

with
uridnsbl        __WANT_ZID_32     my.rbl.domain.        A
body            __WANT_ZID_32     eval:check_uridnsbl('__WANT_ZID_32')
tflags          __WANT_ZID_32     net ns

It is used/referred later in a meta rule.

If I feed spamassassin -D an email with test URIs it looks up pretty much all
of my configured RBLs (including urinsrhssub), but does not check the PTR IP of
the NS for the domain in question.

Same result with "default" "tflags net" (which uses "ns" as well as documented)

I can see the
uridnsbl: complete_ns_lookup NS/...
debug output resolving the NS RRs and the urinsrhssub lookups using the
hostnames of the NS RRs, but no lookups for the PTR RRs of them.

If I add "tflag ns a" I can see the A lookups for the domain, but still no
lookups for the NS IPs.

Looking at URIDNSBL.pm it seems to me that complete_ns_lookup lacks code to
handle $nsreviprules lookups.

This was tested on Rocky 8.10, perl 5.26

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to