http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4842
Summary: URIDNSBL.pm invalid bitwise or
Product: Spamassassin
Version: 3.1.1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P4
Component: Plugins
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Running with a configuration including:
urirhssub SAFF_EXAMPLE rbl.example.com. A 127.0.0.8
causes the following error:
warn: Argument "127.0.0.8" isn't numeric in bitwise or (|) at
/usr/lib/perl5/site_perl/5.8.5/Mail/
SpamAssassin/Plugin/URIDNSBL.pm line 614, <GEN10> line 39.
This bitwise or breaks the documented behavior of urihssub:
urirhssub NAME_OF_RULE rhsbl_zone lookuptype subtest
[ ... ]
subtest is the sub-test to run against the returned data. The sub-test may
either be an IPv4 dotted
address for RHSBLs that return multiple A records, a non-negative decimal
number to specify a bitmask
for RHSBLs that return a single A record containing a bitmask of results, or
(if none of the preceding
options seem to fit) a regular expression.
The code in question was added as a workaround, and can be removed.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.