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

           Summary: bayes does not tokenize the from name
           Product: Spamassassin
           Version: 3.2.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Plugins
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Bayes doesn't tokenize the name part of the from header, e.g.:

$ cat /tmp/dummy 
From: v1agra hyehdt <[email protected]>
Subject: meds  gjguhdo

test krhsye

$ sa-learn --spam   /tmp/dummy
$ spamassassin -D bayes < /tmp/dummy 2>&1 1>/dev/null | grep -Ei "token.*=>"
[5478] dbg: bayes: token 'meds' => 0.999854151320635
[5478] dbg: bayes: token 'H*F:U*foo' => 0.993172413793104
[5478] dbg: bayes: token 'H*F:D*example.com' => 0.993172413793104
[5478] dbg: bayes: token 'H*Ad:D*example.com' => 0.993172413793104
[5478] dbg: bayes: token 'test' => 0.011685356810132
[5478] dbg: bayes: token 'krhsye' => 0.986543689320388
[5478] dbg: bayes: token 'gjguhdo' => 0.986543689320388

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

Reply via email to