[Bug 283682] KMail duplicates filtered messages
András Manţia
amantia at kde.org
Sun Oct 14 11:45:45 BST 2012
https://bugs.kde.org/show_bug.cgi?id=283682
--- Comment #47 from András Manţia <amantia at kde.org> ---
Which one gets duplicated, the spam (Donación de la Hermana Alice Jahab)
or the mail sent to @kde.org ([Bug 283548] Only first filter in chain works for
incoming messages)?
I see the second (the kde.org mail) is deleted from inbox, so i guess that's
not the problematic one.
The spam is more interesting. Can you paste the two filters that go through it
from the akonadi_mailfiter_agentrc?
These ones:
[11:48:19] Evaluerer filterregler: (match all of the following) "<size>"
<greater> "0"
[11:48:19] 1 = "<size>" <greater> "0" ( 14414 )
[11:48:19] Filterregler er blevet matchet.
[11:48:19] Applying filter action: Pipe Through "bogofilter -p -e"
[11:48:28] Evaluerer filterregler: (match any of the following) "X-Bogosity"
<regexp> "(yes)|(spam\b)"
[11:48:28] 1 = "X-Bogosity" <regexp> "(yes)|(spam\b)" (Spam, tests=bogofilter,
spamicity=1.000000, version=1.2.2)
What should happen here is:
- mail is moved from IMAP inbox to local folder
- mail is marked as spam and read (in the local folder)
>From the IMAP log though what happens is:
- the mail is appended again to the inbox immediately after it is fetched and
marked as spam and read (\Seen $JUNK)
- the original mail is deleted (two times!)
Seems like the filter actions are executed in wrong order, resulting in code
duplication.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list