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 2007/05/03 01:18:59 UTC

[Bug 5445] New: eval tests defined in user_rules cause warnings

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5445

           Summary: eval tests defined in user_rules cause warnings
           Product: Spamassassin
           Version: 3.2.0
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Rules
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: rspier@pobox.com


eval rules defined in user_prefs can cause copious amounts of perl warnings.

warn: Subroutine _eval_tests_type11_prineg1000_set3 redefined at (eval 876) line
4, <GEN296> line 62.
warn: Subroutine _eval_tests_type11_prineg950_set3 redefined at (eval 879) line
4, <GEN296> line 62.
warn: Subroutine _eval_tests_type11_prineg900_set3 redefined at (eval 882) line
4, <GEN296> line 62.
warn: Subroutine _eval_tests_type11_prineg400_set3 redefined at (eval 885) line
4, <GEN296> line 62.



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

[Bug 5445] eval tests defined in user_rules cause warnings

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





------- Additional Comments From jm@jmason.org  2007-06-29 05:48 -------
Created an attachment (id=4027)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=4027&action=view)
one-line fix

very simple to fix; one-liner!	(plus another 20 lines of test cases ;)



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

[Bug 5445] [review] body eval tests defined in user_rules cause warnings

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


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.2.3                       |3.2.2






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

[Bug 5445] eval tests defined in user_rules cause warnings

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


spamassassin@dostech.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.2.2                       |3.2.3






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

[Bug 5445] [review] body eval tests defined in user_rules cause warnings

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


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|eval tests defined in       |[review] body eval tests
                   |user_rules cause warnings   |defined in user_rules cause
                   |                            |warnings
  Status Whiteboard|                            |needs 2 votes






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

[Bug 5445] eval tests defined in user_rules cause warnings

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





------- Additional Comments From rspier@pobox.com  2007-05-03 18:45 -------
How to reproduce:

1- clean install of SpamAssassin 3.2.0

2- in local.cf
allow_user_rules 1

3- create user_prefs for $USER file containing:

urirhsbl  URIBL_DYNAMIC_MPRHS  dynamic.rhs.mailpolice.com.   A
body      URIBL_DYNAMIC_MPRHS  eval:check_uridnsbl('URIBL_DYNAMIC_MPRHS')
describe  URIBL_DYNAMIC_MPRHS  Contains a URL listed in the MailPolice dynamic
domains list
tflags    URIBL_DYNAMIC_MPRHS  net
score     URIBL_DYNAMIC_MPRHS  0.5

4- run spamd as $USER
spamd -p 9990

5- run spamc as $USER
spamc -p 9990 < somemessage

6- enjoy subroutine redefined warnings





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

[Bug 5445] eval tests defined in user_rules cause warnings

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


spamassassin@dostech.ca changed:

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






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

[Bug 5445] [review] body eval tests defined in user_rules cause warnings

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


jm@jmason.org changed:

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




------- Additional Comments From jm@jmason.org  2007-07-02 02:31 -------
thanks.  applied to 3.2.2:

: jm 242...; svn commit -m "bug 5445: body eval tests defined in user_rules
cause 'Subroutine _eval_tests_type11_prineg400_set3 redefined' warnings; fix"
lib/Mail/SpamAssassin/Plugin/Check.pm t/spamd_allow_user_rules.t
Sending        lib/Mail/SpamAssassin/Plugin/Check.pm
Sending        t/spamd_allow_user_rules.t
Transmitting file data ..
Committed revision 552442.




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

[Bug 5445] eval tests defined in user_rules cause warnings

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





------- Additional Comments From spamassassin@dostech.ca  2007-05-25 14:55 -------
reproduced on trunk...



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

[Bug 5445] [review] body eval tests defined in user_rules cause warnings

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


maddoc@maddoc.net changed:

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




------- Additional Comments From maddoc@maddoc.net  2007-07-01 14:25 -------
+1



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

[Bug 5445] [review] body eval tests defined in user_rules cause warnings

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





------- Additional Comments From jm@jmason.org  2007-06-29 05:50 -------
in trunk,

: jm 143...; svn commit -m "bug 5445: body eval tests defined in user_rules
cause 'Subroutine _eval_tests_type11_prineg400_set3 redefined' warnings; fix"
Sending        lib/Mail/SpamAssassin/Plugin/Check.pm
Sending        t/spamd_allow_user_rules.t
Transmitting file data ..
Committed revision 551875.




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

[Bug 5445] eval tests defined in user_rules cause warnings

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


sidney@sidney.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.2.1                       |3.2.2




------- Additional Comments From sidney@sidney.com  2007-06-04 22:11 -------
Moving items off the 3.2.1 queue to 3.2.2 to facilitate a quick release.
If you can get this in Review status right away feel free to move it back




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

[Bug 5445] [review] body eval tests defined in user_rules cause warnings

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


felicity@apache.org changed:

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




------- Additional Comments From felicity@apache.org  2007-07-01 13:57 -------
Sure.  +1

(In reply to comment #5)
> Created an attachment (id=4027)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=4027&action=view) [edit]
> one-line fix
> 
> very simple to fix; one-liner!	(plus another 20 lines of test cases ;)





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

[Bug 5445] eval tests defined in user_rules cause warnings

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





------- Additional Comments From jm@jmason.org  2007-05-03 02:45 -------
hi -- can you provide a test case that demos this?



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