[Bug 295484] filtering removes email's content

S. Burmeister sven.burmeister at gmx.net
Fri Jul 13 12:09:53 BST 2012


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

--- Comment #33 from S. Burmeister <sven.burmeister at gmx.net> ---
I found the anti-bug to the mail loss.

I was using kdepim 4.8 with the patch, selected a lot of emails and clicked on
"apply all filters". This usually downloads all emails selected before it
starts to move them according to the filters.

However, this time it did not move all mails but just those I received today,
i.e. in the current KDE session. Applying filters to "old" email just does not
do anything.

Akonadiconsole shows:
akonadi_mailfilter_agent (0x7e8170) 54 UID FETCH 64835 FULLPAYLOAD ANCESTORS 1
EXTERNALPAYLOAD (UID REMOTEID REMOTEREVISION COLLECTIONID FLAGS SIZE DATETIME) 
akonadi_mailfilter_agent (0x7e8170) * 64835 FETCH (UID 64835 REV 3 REMOTEID
"385076" MIMETYPE "message/rfc822" COLLECTIONID 10 SIZE 10662 DATETIME
"13-Jul-2012 10:39:05 +0000" FLAGS (\SEEN) ANCESTORS ((10 "/INBOX"))
PLD:ENVELOPE[1] {459} ("Thu, 12 Jul 2012 14:00:43 +0000" "[Kde-pim] Review
Request: [Fix bug] Disable focus proxy of Article List Viewer" (("Phương Lê
Hoàng" NIL "herophuong93" "gmail.com")) ((NIL NIL "kde-pim-bounces"
"kde.org")) (("Phương Lê Hoàng" NIL "herophuong93" "gmail.com") ("KDE PIM"
NIL "kde-pim" "kde.org")) (("Phương Lê Hoàng" NIL "herophuong93"
"gmail.com") ("KDEPIM" NIL "kde-pim" "kde.org")) NIL NIL NIL
"<20120712140043.12945.44907 at vidsolbach.de>" NIL) PLD:HEAD[1] [FILE] {57}
/home/username/.local/share/akonadi/file_db_data/154699_r0 PLD:RFC822[1] [FILE]
{57} /home/username/.local/share/akonadi/file_db_data/155479_r0) 
akonadi_mailfilter_agent (0x7e8170) 54 OK UID FETCH completed 

That's it.

Doing the same for an email that arrived today, no matter whether its status is
read or unread works.

Now comes the interesting bit. If I enable the filter that pipes emails through
bogofilter and apply it to new and unread emails the content gets removed (this
bug). Yet if I "apply all filters" to an old and unread email which does not
get moved the email gets the bogofilter header and does not lose its content,
i.e. the spam filtering bit works as it should.

I tried to clean the akonadi cache via akonadiconsole in order to make the old
emails move again but that does not work. Switching back to kdepim 4.8 without
the patch does not work either.

I'll attach the akonadiconsole log which includes at the beginning:

right-click on an email which arrived today and select "apply all filters"
(working)

and at the bottom the bit which is right-clicking on an email from yesterday
and selecting "apply all filters" which does not work.

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


More information about the Kdepim-bugs mailing list