Bug 340019 - Filters stop working randomly.
Summary: Filters stop working randomly.
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: misc (show other bugs)
Version: 4.13.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-10-16 11:25 UTC by Halla Rempt
Modified: 2018-10-28 03:29 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
terminal log of akonadi and kmail (76.42 KB, text/plain)
2014-11-08 15:13 UTC, Halla Rempt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Halla Rempt 2014-10-16 11:25:44 UTC
Now and then, about once a month, the filters stop working completely. They either stop removing the filtered mail from the inbox, or move mail into the spam folder _even_ if I remove the spam handling filters and restart kmail.

Reproducible: Always
Comment 1 Mikhail Krasilnikov 2014-11-06 09:01:58 UTC
Got the same problem.
Restarting Akonadi with "akonadictl restart" fixes issue for a some time.
Downgrading akonadi-runtime package (which includes akonadiserver) to 1.12 fixes issue completly.

Last messages just before filters stop working:
------------------------
QDBusObjectPath Akonadi::Server::NotificationManager::subscribeV2(const QString&, bool) Akonadi::Server::NotificationManager(0x98d43f0) "akonadi_newmailnotifier_agent_29245_ylgIaQ" true 
QDBusObjectPath Akonadi::Server::NotificationManager::subscribeV3(const QString&, bool, bool) Akonadi::Server::NotificationManager(0x98d43f0) "akonadi_newmailnotifier_agent_29245_ylgIaQ" true false 
posting retrieval request for item 73091  there are  1  queues and  0  items in mine 
processing retrieval request for item 73091  parts: ("RFC822")  of resource: "akonadi_imap_resource_7" 
request for item 73091 still pending - waiting 
akonadi_imap_resource_7(29229)/kdepimlibs (kimap) KIMAP::StoreJob::handleResponse: We asked for UID but the server didn't give it back, resultingFlags not stored. 
akonadi_imap_resource_7(29229)/kdepimlibs (kimap) KIMAP::StoreJob::handleResponse: We asked for UID but the server didn't give it back, resultingFlags not stored. 
akonadi_imap_resource_7(29229)/kdepimlibs (kimap) KIMAP::StoreJob::handleResponse: We asked for UID but the server didn't give it back, resultingFlags not stored. 
akonadi_imap_resource_7(29229)/kdepimlibs (kimap) KIMAP::StoreJob::handleResponse: We asked for UID but the server didn't give it back, resultingFlags not stored. 
akonadi_imap_resource_7(29229)/kdepimlibs (kimap) KIMAP::StoreJob::handleResponse: We asked for UID but the server didn't give it back, resultingFlags not stored. 
continuing 
request for item 73091 succeeded 
posting retrieval request for item 73090  there are  1  queues and  0  items in mine 
request for item 73090 still pending - waiting 
processing retrieval request for item 73090  parts: ("RFC822")  of resource: "akonadi_imap_resource_7" 
akonadi_imap_resource_7(29229) RetrieveItemsTask::onFinalSelectDone: Detected inconsistency in local cache, we're missing some messages. Server:  39  Local:  38 
akonadi_imap_resource_7(29229) RetrieveItemsTask::onFinalSelectDone: Refetching complete mailbox. 
akonadi_imap_resource_7(29229)/kdepimlibs (kimap) KIMAP::StoreJob::handleResponse: We asked for UID but the server didn't give it back, resultingFlags not stored. 
continuing 
request for item 73090 succeeded 
posting retrieval request for item 73087  there are  1  queues and  0  items in mine 
request for item 73087 still pending - waiting 
processing retrieval request for item 73087  parts: ("RFC822")  of resource: "akonadi_imap_resource_7" 
akonadi_imap_resource_7(29229)/kdepimlibs (kimap) KIMAP::StoreJob::handleResponse: We asked for UID but the server didn't give it back, resultingFlags not stored. 
continuing 
request for item 73087 succeeded 
posting retrieval request for item 73086  there are  1  queues and  0  items in mine 
request for item 73086 still pending - waiting 
processing retrieval request for item 73086  parts: ("RFC822")  of resource: "akonadi_imap_resource_7" 
akonadi_imap_resource_7(29229)/kdepimlibs (kimap) KIMAP::StoreJob::handleResponse: We asked for UID but the server didn't give it back, resultingFlags not stored. 
akonadi_imap_resource_7(29229)/kdepimlibs (kimap) KIMAP::StoreJob::handleResponse: We asked for UID but the server didn't give it back, resultingFlags not stored. 
akonadi_imap_resource_7(29229) ChangeItemsFlagsTask::onRemoveFlagsDone: Flag remove failed:  "Не удалось выполнить запись данных в письмо, ответ сервера: A000039 BAD Command Argument Error. 12 " 
continuing 
request for item 73086 succeeded 
posting retrieval request for item 66905  there are  1  queues and  0  items in mine 
request for item 66905 still pending - waiting 
processing retrieval request for item 66905  parts: ("RFC822")  of resource: "akonadi_imap_resource_7" 
akonadi_imap_resource_7(29229)/kdepimlibs (kimap) KIMAP::StoreJob::handleResponse: We asked for UID but the server didn't give it back, resultingFlags not stored. 
akonadi_imap_resource_7(29229)/kdepimlibs (kimap) KIMAP::StoreJob::handleResponse: We asked for UID but the server didn't give it back, resultingFlags not stored. 
akonadi_imap_resource_7(29229) ChangeItemsFlagsTask::onRemoveFlagsDone: Flag remove failed:  "Не удалось выполнить запись данных в письмо, ответ сервера: A000048 BAD Command Argument Error. 12 " 
continuing 
request for item 66905 succeeded 
posting retrieval request for item 73224  there are  1  queues and  0  items in mine 
request for item 73224 still pending - waiting 
processing retrieval request for item 73224  parts: ("RFC822")  of resource: "akonadi_imap_resource_7" 
akonadi_imap_resource_7(29229) RetrieveItemsTask::onFinalSelectDone: Detected inconsistency in local cache, we're missing some messages. Server:  35  Local:  34 
akonadi_imap_resource_7(29229) RetrieveItemsTask::onFinalSelectDone: Refetching complete mailbox. 
Tag context: -1 
Collection context:  40 
akonadi_imap_resource_7(29229)/kdepimlibs (kimap) KIMAP::StoreJob::handleResponse: We asked for UID but the server didn't give it back, resultingFlags not stored. 
akonadi_imap_resource_7(29229)/kdepimlibs (kimap) KIMAP::StoreJob::handleResponse: We asked for UID but the server didn't give it back, resultingFlags not stored. 
continuing 
request for item 73224 "29619" failed: "Unable to retrieve item from resource: <html>Получен неправильный элемент</html>" 
ItemRetrieverException :  Unable to retrieve item from resource: <html>ÐолÑÑен непÑавилÑнÑй ÑлеменÑ</html>
akonadi_mailfilter_agent(29242): Error while moving items.  103 "Unable to retrieve item from resource: <html>Получен неправильный элемент</html>"  to destinationCollection.id() : 102 
Tag context: -1 
Collection context:  40 
------------------------

My system: openSUSE 13.2 (Thumbleweed/Factroy) i686.

kmail-4.14.2-1.1.i586
akonadi-4.14.2-1.1.i586
libakonadi4-4.14.2-1.1.i586
akonadi-runtime-1.13.0-4.2.i586
libakonadiprotocolinternals1-1.13.0-4.2.i586
libkdepim4-4.14.2-1.1.i586
kdepim4-runtime-4.14.2-1.1.i586
kdepimlibs4-4.14.2-1.1.i586
kdepim4-4.14.2-1.1.i586
libkdepimlibs4-4.14.2-1.1.i586
Comment 2 Halla Rempt 2014-11-08 15:13:56 UTC
Created attachment 89503 [details]
terminal log of akonadi and kmail

And it's happening again, but now I happened to be running kmail and akonadi from a terminal. I guess I'll have manually sort 404 messages now, hoping that the failure-to-delete-from-inbox bug doesn't happen.
Comment 3 Mikhail Krasilnikov 2014-11-10 07:34:23 UTC
(In reply to Boudewijn Rempt from comment #2)
> I guess I'll have manually sort 404 messages now, hoping
> that the failure-to-delete-from-inbox bug doesn't happen.

Try to restart akonadi (as I wrote above) and than run "Apply all filters to folder" from the "Folder" menu. If this does not help, close KMail and restart akonadi again.
Comment 4 guyl 2015-02-19 04:00:59 UTC
I have the same problem tried to restart as you posted above and still no filters are working
Comment 5 Mikhail Krasilnikov 2015-09-23 09:40:17 UTC
Problem is still here and very annoying.

Kubuntu 15.04
kmail-4.14.7
akonadi-server-1.13.0
kdepim-runtime-4.14.7
libkdepim4-4.14.7
Comment 6 Denis Kurz 2017-06-23 20:22:53 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 7 guyl 2017-06-24 03:22:51 UTC
I don't understand what you mean by 2 years after past it's life - I'm running KDE 16.04 BUT I did upgrade from 14.04 using same home dir
Comment 8 Halla Rempt 2017-06-24 07:51:21 UTC
I have completely stopped using kmail in 2014. What with the asinine imap conflict resolution dialog popping up all the time, losing complete mailboxes, incredible slowdowns and crashes when getting mail from my pop3 server, corrupted mail and disappearing filters it was completely unusable.

And because it was so bad -- it should never have been released, really -- I don't dare to give kmail another chance. It's just too dangerous. I cannot afford to lose mail like that. I use pine now.
Comment 9 Andrew Crouthamel 2018-09-28 02:30:42 UTC
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 set the bug status 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!
Comment 10 Andrew Crouthamel 2018-10-28 03:29:47 UTC
Dear Bug Submitter,

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!