You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2006/03/27 06:26:30 UTC

[Bug 4842] New: URIDNSBL.pm invalid bitwise or

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: dev@spamassassin.apache.org
        ReportedBy: jparsons-apache@saffron.net


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.

[Bug 4842] [review] URIDNSBL.pm invalid bitwise or

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4842


sidney@sidney.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
            Summary|URIDNSBL.pm invalid bitwise |[review] URIDNSBL.pm invalid
                   |or                          |bitwise or
  Status Whiteboard|                            |needs 2 votes
   Target Milestone|3.2.0                       |3.1.5




------- Additional Comments From sidney@sidney.com  2006-08-09 04:34 -------
This bug is also in 3.1, and the fix seems pretty trivial, so I'm opening it up
for review for 3.1.5





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

[Bug 4842] [review] URIDNSBL.pm invalid bitwise or

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4842


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 2 votes               |needs 1 vote




------- Additional Comments From felicity@apache.org  2006-08-13 00:01 -------
+1



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

[Bug 4842] URIDNSBL.pm invalid bitwise or

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4842





------- Additional Comments From jparsons-apache@saffron.net  2006-03-27 05:29 -------
Created an attachment (id=3434)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3434&action=view)
Proposed patch removing workaround




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

[Bug 4842] URIDNSBL.pm invalid bitwise or

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4842


sidney@sidney.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From sidney@sidney.com  2006-08-09 02:31 -------
Committed revision 429931



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

[Bug 4842] [review] URIDNSBL.pm invalid bitwise or

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4842


sidney@sidney.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED
  Status Whiteboard|can be commited             |




------- Additional Comments From sidney@sidney.com  2006-08-13 05:36 -------
Committed to 3.1 revision 431146




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

[Bug 4842] URIDNSBL.pm invalid bitwise or

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4842


sidney@sidney.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jm@jmason.org




------- Additional Comments From sidney@sidney.com  2006-08-09 01:58 -------
*** Bug 5028 has been marked as a duplicate of this bug. ***



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

[Bug 4842] URIDNSBL.pm invalid bitwise or

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4842


jparsons-apache@saffron.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://thread.gmane.org/gman
                   |                            |e.mail.spam.spamassassin.gen
                   |                            |eral/78850






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

[Bug 4842] [review] URIDNSBL.pm invalid bitwise or

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4842


maddoc@maddoc.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 1 vote                |can be commited




------- Additional Comments From maddoc@maddoc.net  2006-08-13 01:55 -------
+1



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

[Bug 4842] URIDNSBL.pm invalid bitwise or

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4842


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |3.2.0






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