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...@issues.apache.org on 2010/06/06 11:37:53 UTC

[Bug 6446] New: Duplicate rules: NSL_RCVD_FROM_USER and RCVD_HAS_FROM_USER

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6446

           Summary: Duplicate rules: NSL_RCVD_FROM_USER and
                    RCVD_HAS_FROM_USER
           Product: Spamassassin
           Version: 3.3.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Rules
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: ned@unixmail.co.uk


The rules NSL_RCVD_FROM_USER and RCVD_HAS_FROM_USER both appear to be detecting
the same thing. I originally wrote the NSL_RCVD_FROM_USER rule to detect "from
User" in the Received header on Postfix systems (it might not translate to
other MTAs?) and John Hardin picked up the rule for me and pushed it into
testing.

header         NSL_RCVD_FROM_USER       Received =~ /from User [\[\(]/
header             RCVD_HAS_FROM_USER      Received =~ /\bfrom\sUser\b/im

So at present the rule is scoring twice, at 2.053 and 1.677 on my system, which
combined is roughly what the the score was for NSL_RCVD_FROM_USER (3.399)
before RCVD_HAS_FROM_USER appeared.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6446] Duplicate rules: NSL_RCVD_FROM_USER and RCVD_HAS_FROM_USER

Posted by bu...@issues.apache.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6446

John Hardin <jh...@impsec.org> changed:

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

--- Comment #3 from John Hardin <jh...@impsec.org> 2010-06-07 01:16:38 EDT ---
jhardin@dendarii ~/develop/spamassassin/svn/trunk/rulesrc/sandbox/hege $ svn
commit -m "Bug 6446: RCVD_HAS_FROM_USER has lower S/O than NSL_RCVD_FROM_USER"
Sending        hege/20_hk.cf
Transmitting file data .
Committed revision 952104.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6446] Duplicate rules: NSL_RCVD_FROM_USER and RCVD_HAS_FROM_USER

Posted by bu...@issues.apache.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6446

Henrik Krohns <he...@hege.li> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hege@hege.li

--- Comment #2 from Henrik Krohns <he...@hege.li> 2010-06-06 18:15:55 EDT ---
Feel free to comment out.. (I still don't have my SVN password)

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6446] Duplicate rules: NSL_RCVD_FROM_USER and RCVD_HAS_FROM_USER

Posted by bu...@issues.apache.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6446

John Hardin <jh...@impsec.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jhardin@impsec.org

--- Comment #1 from John Hardin <jh...@impsec.org> 2010-06-06 12:57:57 EDT ---
Results from the last net nightly:

SPAM%   HAM%   S/O         RANK    SCORE   NAME
0.2797  0.0054 0.981     0.76     1.20     NSL_RCVD_FROM_USER
0.4274  0.0443 0.906     0.74     0.01     T_RCVD_HAS_FROM_USER

The S/O for NSL_RCVD_FROM_USER is somewhat better, I suggest we keep that one.

Henrik?

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.