Summary: | spamassassin filter deletes every incoming mail | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Tom Mittelstädt <tom-kde.bugs> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | critical | ||
Priority: | NOR | ||
Version: | 5.1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Tom Mittelstädt
2016-01-15 19:39:57 UTC
I changed the spamassassin ruleset to use "spamc" together with the daemonized version of spamassassin. What a performance boost! The time to scan one mail decreased from >10s to <1s. Maybe this fixes the problem, too, that mails are not processed at all (maybe because of a timeout?) However, kmail should not sort out mails where no spamassassin header is set at all. The problem is still present, however now there a logs. Fri Jan 22 17:38:42 2016 [1168] info: spamd: connection from ip6-localhost [::1]:39820 to port 783, fd 5 Fri Jan 22 17:38:43 2016 [1168] info: spamd: creating default_prefs: /home/monster/.spamassassin/user_prefs Fri Jan 22 17:38:43 2016 [1168] info: spamd: failed to create readable default_prefs: /home/monster/.spamassassin/user_prefs Fri Jan 22 17:38:43 2016 [1168] info: spamd: processing message (unknown) for monster:888 Fri Jan 22 17:38:43 2016 [1168] info: spamd: identified spam (7.9/5.0) for monster:888 in 0.3 seconds, 1 bytes. Fri Jan 22 17:38:43 2016 [1168] info: spamd: result: Y 7 - EMPTY_MESSAGE,MISSING_DATE,MISSING_FROM,MISSING_HEADERS,MISSING_MID,MISSING_SUBJECT,NO_HEADERS_MESSAGE,NO_RECEIVED,NO_RELAYS scantime=0.3,size=1,user=monster,uid=888,required_score=5.0,rhost=ip6-localhost,raddr=::1,rport=39820,mid=(unknown),autolearn=no autolearn_force=no Fri Jan 22 17:38:43 2016 [987] info: prefork: child states: II To sum up kmails behavior: - There is an incoming email (OK) - kmail sends it through spamassassin/spamc (OK) - spamassassin's own log says: EMPTY_MESSAGE,MISSING_DATE,MISSING_FROM,MISSING_HEADERS,MISSING_MID,MISSING_SUBJECT,NO_HEADERS_MESSAGE,NO_RECEIVED,NO_RELAYS - kmail detects the spam flag in spamassassin's report (OK) - kmail moves the email eg to trash. (OK) The problem: - The incoming mail was not empty. It is a normal email. - Obviously kmail sends an empty file through spamassassin/spamc. - The empty file is recognized as spam. - Spamassassin generates its report, and kmail uses that X-Spam-Flag header for further filtering. Interesting fact: The mail is not replaced with spamassassins report. It stays untouched, but is moved to trash. So it seems as if the "pipe this email through a program" filter does not work reliably. Maybe a race condition? maybe related: https://bugs.kde.org/show_bug.cgi?id=255388 Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |