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

           Summary: sa-learn reports an error when there was none, like
                    when no msgs needed to be learned
           Product: Spamassassin
           Version: 3.3.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Learner
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The error message "the Bayes learn function returned an error" is misleading
and unnecessary when there just was nothing to do, like when all messages
have already been learned:

$ sa-learn --spam x.msg
Learned tokens from 1 message(s) (1 message(s) examined)

$ sa-learn --spam x.msg
Learned tokens from 0 message(s) (1 message(s) examined)
ERROR: the Bayes learn function returned an error, please re-run with -D for
more information at /usr/local/bin/sa-learn line 493.

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