https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7674

Ralf Glauberman <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Ralf Glauberman <[email protected]> ---
Thanks for your response. I have looked into it a bit more and as it seems the
learner is fine but the command line parsing is not as I would have expected:

sa-learn test.eml --debug
--> Error reported (since no command is specified)

sa-learn --spam test.eml --debug
--> Mail is correctly learned as spam

sa-learn test.eml --spam --debug
--> Mail is learned as ham and no error is reported

I assumed that the order of parameters would be unimportant and I think it is a
bit confusing that the parameter is on one hand detected (no error is reported)
but on the other hand ignored. Maybe a simple sanity check could be added?

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

Reply via email to