snappymail icon indicating copy to clipboard operation
snappymail copied to clipboard

Misinterpretation of negative spam scores

Open Bagu opened this issue 1 year ago • 0 comments

Describe the bug Negative spam scores are not correctly interpreted. If an e-mail has a score of -97, it will be considered as having a score of 97 by snappymail.

To Reproduce Steps to reproduce the behavior:

  1. Receive a mail
  2. On the mail, see the spam score
  3. See the value
  4. See, in source that the effective value is negative

Expected behavior If a score is negative, the score bar should display either 0, or the negative score with a blank score bar.

Please complete the following information:

  • Browser: Firefox 136.0.3
  • IMAP daemon: hmailserver
  • PHP version: 8.4.5
  • SnappyMail Version: v2.38.2
  • Mode: standalone

Bagu avatar Mar 28 '25 12:03 Bagu