Giter Site home page Giter Site logo

Comments (7)

friedPotat0 avatar friedPotat0 commented on June 19, 2024

This behaviour was actually intended. I've never thought about a use case where one would highlight non-spams as spam or the other way around. I've developed this add-on with the focus on the standardised score ranges of the most popular mail servers. When you say that you want to mark mails as spam that the server has not classified as such, it would be probably better to adjust the mail server itself.

The yellow icon is useful for any mails that are not precisely classified as spam or ham by the mail server. If I understand you correctly, you want to disable the yellow range completely, won't you? I would not recommend to do this cause of the uncertainty of the mail servers classification in the first place.

from spam-scores.

sphh avatar sphh commented on June 19, 2024

That's what I did: I adjusted the mail server itself! I have a standard spam-assassin running with greylisting. I only have adjusted the spam levels when an email is greylisted (level 2-5) and when it is classified as spam and rejected straight away (level >5). Hence it is pretty obvious to me, that I want the following displays:

  • "green": not greylisted, hence level < 2
  • "yellow": possible spam, greylisted, hence level between 2 and 5
  • "red": spam, level >5

This works very well for me. You could argue, that I could (and should) lower the greylist level to 0, but I noticed that many legitimate emails have values below 2 (resulting in false - temporary - positives) and that spams not caught have all values below 0. Maybe I am a non-typical email user?

And no, I don' want to disable the yellow range completely. I want to use it to show possible spams which got greylisted.

from spam-scores.

friedPotat0 avatar friedPotat0 commented on June 19, 2024

You should not lower the greylisting range to zero. The way you use greylisting is exactly how it should be. But in fact the most uncertain value when it comes to spam classification of mail servers regardless of the greylisting is the interval around zero. As you already noticed: many legitimate emails have values below 2. But there can be spams in that range as well.

When you say that mails with values below zero are spams without any exception, which I doubt because of the aforementioned uncertainty of the classification, I would suggest you to set the score ranges to to following values:

  • red: greater than 5
  • yellow: between 0 and 5
  • green: lower than 0

The way you interpret your scores around zero is an edge case which I might be handing when I rewrite most of the score range settings in the add-on options. I thought of something like a two handle range slider where you can drag the handles wherever you want. But there is more to consider when implementing this. The way it is done now with the input fields could result in overlapping ranges when I remove the zero value boundary and do not implement further exception handling.

from spam-scores.

sphh avatar sphh commented on June 19, 2024

Each to their own! ;-)

Thank you for your suggestion, but I guess I will keep my settings because they work well for me.

Obviously it should not be possible to set th green level higher than the red. Isn't it possible to link the lowest possible red level to the currently selected green level (and vice versa?)

I would not mind to change this in the advance configuration screen, if this is an edge case indeed. But I could not find the appropriate setting there …

from spam-scores.

friedPotat0 avatar friedPotat0 commented on June 19, 2024

Your use case should be working in the next version. I removed the zero value boundary and catched the case when the red and green values overlap. So it should not be possible to break the ranges completely.

from spam-scores.

sphh avatar sphh commented on June 19, 2024

Thanks!

from spam-scores.

sphh avatar sphh commented on June 19, 2024

Thanks for implementing this!!

from spam-scores.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.