[kmail2] [Bug 491239] New: Spam Filtering Does Not Work Correctly

David C. Bryant bugzilla_noreply at kde.org
Sun Aug 4 00:46:07 BST 2024


https://bugs.kde.org/show_bug.cgi?id=491239

            Bug ID: 491239
           Summary: Spam Filtering Does Not Work Correctly
    Classification: Applications
           Product: kmail2
           Version: 5.24.3
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: commands and actions
          Assignee: kdepim-bugs at kde.org
          Reporter: davidbryant at gvtc.com
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Spam filtering is broken. I have two filter rules:
1. If size of message < 1,024,000, pipe message through spamassassin -L
2. If X-SPAM-STATUS contains Yes and X-SPAM-FLAG contains YES, move message to
spam folder, mark as read and mark as spam

If I turn both these rules on (checkbox marked in Configure Filters dialog),
all my incoming mail ends up in the spam folder, and none of tthe messages
contain the X-SPAM-XXX headers. If I turn the second rule off, all my mail
remains in the Inbox, and the X-SPAM-XXX headers are set correctly. If I  then
reconfigure the rules by turning rule #1 off and #2 on, and use the "Apply
Filter --> Apply All Filters" action to all the new messages, the program works
as it ought to -- the messages marked Yes and YES are moved to the spam folder,
etc..

STEPS TO REPRODUCE
1.  Install spamassassin and the two filter rules.
2. Receive some mail from the POP server.
3. Observe what happens

OBSERVED RESULT
I cannot effectively use spam filtering by turning bothrules on simultaneously.

EXPECTED RESULT
I should be able to turn both rules on and get spam-filtering done
automatically.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Kernel is 6.6.38--gentoo-x86_64
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.116.0
Qt Version: 5.15.14

ADDITIONAL INFORMATION
I have played around with this quite a bit. Sometimes, if I change rule #2 a
little bit (by making it only check for X-SPAM-STATUS contains Yes, for
example), it will work OK for a little while. But after a day or so, it will
revert to its previous, buggy behavior.

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


More information about the Kdepim-bugs mailing list