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

           Summary: SpamD/SpamC report email as not spam but also reports
                    Hits = Required Threshold
           Product: Spamassassin
           Version: 3.3.0
          Platform: PC
        OS/Version: Windows 7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: spamc/spamd
        AssignedTo: [email protected]
        ReportedBy: [email protected]


spamc called with parameter -R is printing the report with

   "The first line of the output is the message score and the thresh­old, in
this format: score/threshold"

However, the first line does NOT agree with the content analysis details.
Here's the output from /usr/local/bin/spamc -R -z -d localhost -u root <
/tmp/3:

6.5/6.5

...(STUFF REMOVED)

Content analysis details:   (6.4 points, 6.5 required)

 1.1 URIBL_GREY             Contains an URL listed in the URIBL greylist
                            [URIs: constantcontact.com]
 1.0 EXTRA_MPART_TYPE       Header has extraneous Content-type:...type= entry
-0.5 TEMP                   TEMP
 2.4 ONLINE_PHARMACY        BODY: Online Pharmacy
 1.2 TVD_VISIT_PHARMA       BODY: TVD_VISIT_PHARMA
 0.0 HTML_MESSAGE           BODY: HTML included in message
 2.3 ADVANCE_FEE_2          Appears to be advance fee fraud (Nigerian 419)
 0.0 T_LOTS_OF_MONEY        Huge... sums of money
-1.0 KAM_RPTR_PASSED        Passed Mail Relay Reverse DNS Test
-0.0 AWL                    AWL: From: address is in the auto white-list


I am using spamc -R and using the first line of output from spamc to determine
if the email was spam by checking if score is >= thresholdto test.

OK, so long and short, this is bug 2607 rearing it's head in spamd.  

I have a patch against 3.3.0 that works.  However, centralizing the routine
that I've duplicated for PerMsgStatus.pm would likely be a better solution.

-- 
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