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

--- Comment #8 from Mark Martinec <[email protected]> ---
(In reply to Benny Pedersen from comment #7)
> the sample.pl here does not use spamassassin

... but it uses $rr->string for type A record.
The string() method produces a valid dns zone file syntax,
which may or may not include parenthesis.

To obtain an address from a record of type A or AAAA,
the proper method is $rr->address. Some parts of
SpamAssassin have already been adjusted to do the right
thing, unfortunately not all, or so it seems.

It is unfortunate that old version of Net::DNS
did not provide a method address(), so fixing it involves
some compatibility measures.

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

Reply via email to