[Bug 883459]
Tobias Leopold, you are probably right of being a timing issue. If you can reproduce it, and could work on the code, the chances of fixing it would be high(er). As I pointed out already, I use POP3 and IMAP with local filters on two machines and didn't see this problem for a long time, so best would be to fix on a machine where it actually manifests it. It was a long time ago when I last worked on Akonadi/KMail code, but here are some hints: - add debug output (possibly with timestamps) in the filtering and the akonadi code. You might have to do that both in the akonadi server and the akonadi resources (filter agent and the base classes) - the filter agent is in kdepim/mailfilteragent, the starting point could be mailfilteragent.cpp and there the itemAdded() method. This is called when a new mail appeares in a monitored folder (ie. the inbox) - itemsReceiviedForFiltering() there is called when the filter agent retrieves the above item (so it can analyze that it needs to be filtered or not) - interesting code could be also in Akonadi::AgentBase class (kdepimlibs repository) and the changeRecorder() part, but only if you can't figure out anything useful from the above - mailfilteragent/filtermanager.cpp is the code that does the filtering. processContextItem() is the method that does the move/copy of the messages. Adding debug output here also makes sense to see when does this happen - for the server itself you can enable debugging in the akonadiconsole app, although this will give you lots of data and will make things slow, so better make sure you don't get lot of mails while debugging is enabled. But it can show all the communication between the akonadi server and the clients and all the jobs running and their order. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883459 Title: KMail duplicates emails To manage notifications about this bug go to: https://bugs.launchpad.net/kdepim/+bug/883459/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883459]
Unless someone changed meantime, the way it works is: - mail is delivered to Inbox - the filtering code gets a notification of new mails - it runs the filters on them and does what you have set up in the filter, like moves the mail -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883459 Title: KMail duplicates emails To manage notifications about this bug go to: https://bugs.launchpad.net/kdepim/+bug/883459/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883459]
If you look at the history, you see we care about it and use it. Unfortunately I have no real time for KMail these days, and for me it works. Both for POP3 and IMAP accounts, I have no mail duplication with filters, so it is really hard to do anything without spending a lot of time on it, -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883459 Title: KMail duplicates emails To manage notifications about this bug go to: https://bugs.launchpad.net/kdepim/+bug/883459/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 510018]
Why blaming KDE for something that is in Qt (even if the respective developer is both a Qt and KDE person)? Read comments #118 and #122, if not everything. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/510018 Title: Cannot delete file with bad filename To manage notifications about this bug go to: https://bugs.launchpad.net/kde-baseapps/+bug/510018/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883459]
Travis: your problem might be the one you describe in bug 288020, unrelated to the filtering. -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdepim in Ubuntu. https://bugs.launchpad.net/bugs/883459 Title: KMail duplicates emails To manage notifications about this bug go to: https://bugs.launchpad.net/kdepim/+bug/883459/+subscriptions -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 883459]
Christian: what kind of accounts are involved (source/destination). Can you post the filter in question from the filter config file (akonadi_mailfilter_agentrc) and the log? Which duplicate disappears on the refresh (original or dest folder)? -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdepim in Ubuntu. https://bugs.launchpad.net/bugs/883459 Title: KMail duplicates emails To manage notifications about this bug go to: https://bugs.launchpad.net/kdepim/+bug/883459/+subscriptions -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 883459]
FYI, I have a tentative patch for this, but need to clean up and backport to 4.9 branch. I will post here once it is done, so you can test it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883459 Title: KMail duplicates emails To manage notifications about this bug go to: https://bugs.launchpad.net/kdepim/+bug/883459/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883459]
Git commit 37515fa641381b1357f26b0372f69bf9300dc10f by Andras Mantia. Committed on 18/10/2012 at 22:53. Pushed by amantia into branch 'KDE/4.9'. Backport of the filter pipeline refactoring fix, that should fix the duplication of mails when it goes through several filter that move and modify the mail. Related: bug 305073 FIXED-IN: 4.9.3 M +29 -41 mailfilteragent/filtermanager.cpp http://commits.kde.org/kdepim/37515fa641381b1357f26b0372f69bf9300dc10f -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdepim in Ubuntu. https://bugs.launchpad.net/bugs/883459 Title: KMail duplicates emails To manage notifications about this bug go to: https://bugs.launchpad.net/kdepim/+bug/883459/+subscriptions -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 883459]
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) "" "0" [11:48:19] 1 = "" "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" "(yes)|(spam\b)" [11:48:28] 1 = "X-Bogosity" "(yes)|(spam\b)" (Spam, tests=bogofilter, spamicity=1.00, 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 received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdepim in Ubuntu. https://bugs.launchpad.net/bugs/883459 Title: KMail duplicates emails To manage notifications about this bug go to: https://bugs.launchpad.net/kdepim/+bug/883459/+subscriptions -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 883459]
Is the subdir a subirectory of inbox or a different subdirectory? Just to double check, is it maildir or mixedmaildir account? Can you check that after the move (but before refresh), is the mail still physically on the disk in the inbox folder? You can check the location in the account settings, and locate the mail file e.g with a search in content on the file system. -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdepim in Ubuntu. https://bugs.launchpad.net/bugs/883459 Title: KMail duplicates emails To manage notifications about this bug go to: https://bugs.launchpad.net/kdepim/+bug/883459/+subscriptions -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 883459]
Can anybody reproduce the problem with KDE 4.9.2 (and preferably Akonadi 1.8.1)? If yes, what kind of account does the filter run on (maildir, mixedmaildir, mbox, imap - if imap, online or disconnected)? Does the mails come up if you delete simply with "Del" and refresh after? -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdepim in Ubuntu. https://bugs.launchpad.net/bugs/883459 Title: KMail duplicates emails To manage notifications about this bug go to: https://bugs.launchpad.net/kdepim/+bug/883459/+subscriptions -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 883459]
Git commit 8846d44b217108351c35f8afd883f72ee88388ec by Andras Mantia. Committed on 06/07/2012 at 11:12. Pushed by amantia into branch 'KDE/4.8'. Backport part of the filter fix: this is the actual fix, the rest were optimizations and safety checks, but it is difficult to backport. An unwanted side-effect might be that more data is downloaded than before, based on the type of filters used. FIXED-IN: 4.8.5 Related: bug 287752, bug 292283, bug 288109, bug 286043, bug 295484, bug 302337, bug 295000, bug 295684, bug 293768, bug 275233, bug 293918, bug 284310, bug 286364 M +0-1mailfilteragent/mailfilteragent.cpp http://commits.kde.org/kdepim/8846d44b217108351c35f8afd883f72ee88388ec -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883459 Title: KMail duplicates emails To manage notifications about this bug go to: https://bugs.launchpad.net/kdepim/+bug/883459/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883459]
Git commit e3a03f1d704838a9ced4ff41358785392774ae69 by Andras Mantia. Committed on 04/07/2012 at 17:35. Pushed by amantia into branch 'KDE/4.9'. (Backport filter fix from master) A biggish refactoring of the filter functionality: 1) Do not take the items from the cache only, as they might be incomplete (especially in online imap case, but not only). This should fix the body loss bug on spam filtering.(Bug 287752 and similar ones + countless of reports on user list) Might fix 293768. 2) Download only what is really needed for the filter and add safety checks that the mail is not modified if the requested part is missing. So far the distinction was only betwee the body and rest. This should speed up filtering. Also related to 287752, but should fix also 292283, 288109. 3) Rename qDebug->kDebug + fix some includes 4) The code should also fix the duplicate mails appearing after filtering (some of the duplicates with empty content), eg. 275233 All bug reporters: in case you still see the bug, reopen the corresponding one. For the reports that were CC'd, but not closed, please try to reproduce and tell the result. So far the bug is fixed on master, but might be backported later to 4.9. Related: bug 287752, bug 292283, bug 288109, bug 286043, bug 295484, bug 302337, bug 295000, bug 295684, bug 293768, bug 275233, bug 293918, bug 284310, bug 286364 (cherry picked from commit d64d61b470c56b92294f6adee6d74305a217628d) FIXED-IN: 4.9 M +7-11 kmail/kmcommands.cpp M +10 -7kmail/kmcommands.h M +1-1kmail/kmmainwidget.cpp M +1-5mailcommon/filter/filteraction.cpp M +6-5mailcommon/filter/filteraction.h M +6-0mailcommon/filter/filteractionaddheader.cpp M +2-0mailcommon/filter/filteractionaddheader.h M +2-2mailcommon/filter/filteractionaddtag.cpp M +1-1mailcommon/filter/filteractionaddtag.h M +9-3mailcommon/filter/filteractionaddtoaddressbook.cpp M +2-0mailcommon/filter/filteractionaddtoaddressbook.h M +7-0mailcommon/filter/filteractionbeep.cpp M +1-0mailcommon/filter/filteractionbeep.h M +18 -1mailcommon/filter/filteractioncopy.cpp M +7-0mailcommon/filter/filteractioncopy.h M +6-0mailcommon/filter/filteractiondelete.cpp M +1-0mailcommon/filter/filteractiondelete.h M +5-0mailcommon/filter/filteractionexec.cpp M +1-0mailcommon/filter/filteractionexec.h M +5-0mailcommon/filter/filteractionforward.cpp M +1-0mailcommon/filter/filteractionforward.h M +6-0mailcommon/filter/filteractionmove.cpp M +2-0mailcommon/filter/filteractionmove.h M +6-0mailcommon/filter/filteractionpipethrough.cpp M +1-0mailcommon/filter/filteractionpipethrough.h M +6-0mailcommon/filter/filteractionplaysound.cpp M +2-0mailcommon/filter/filteractionplaysound.h M +5-0mailcommon/filter/filteractionredirect.cpp M +1-0mailcommon/filter/filteractionredirect.h M +6-1mailcommon/filter/filteractionremoveheader.cpp M +1-0mailcommon/filter/filteractionremoveheader.h M +6-0mailcommon/filter/filteractionreplyto.cpp M +1-0mailcommon/filter/filteractionreplyto.h M +6-0mailcommon/filter/filteractionrewriteheader.cpp M +1-0mailcommon/filter/filteractionrewriteheader.h M +6-0mailcommon/filter/filteractionsendfakedisposition.cpp M +1-0mailcommon/filter/filteractionsendfakedisposition.h M +8-2mailcommon/filter/filteractionsendreceipt.cpp M +1-0mailcommon/filter/filteractionsendreceipt.h M +6-0mailcommon/filter/filteractionsetidentity.cpp M +1-0mailcommon/filter/filteractionsetidentity.h M +6-0mailcommon/filter/filteractionsetstatus.cpp M +1-0mailcommon/filter/filteractionsetstatus.h M +6-0mailcommon/filter/filteractionsettransport.cpp M +1-0mailcommon/filter/filteractionsettransport.h M +5-0mailcommon/filter/filteractionstatus.cpp M +2-0mailcommon/filter/filteractionstatus.h M +5-2mailcommon/filter/filteractionunsetstatus.cpp M +2-1mailcommon/filter/filteractionunsetstatus.h M +4-4mailcommon/filter/filterimporter/filterimporterevolution.cpp M +1-1mailcommon/filter/filterimporter/filterimporterprocmail.cpp M +1-1mailcommon/filter/filterimporter/filterimportersylpheed.cpp M +2-2mailcommon/filter/filtermanager.cpp M +2-8mailcommon/filter/filtermanager.h M +8-2mailcommon/filter/itemcontext.cpp M +8-1mailcommon/filter/itemcontext.h M +10 -17 mailcommon/filter/kmfilterdialog.cpp M +2-1mailcommon/filter/kmfilterdialog.h M +25 -8mailcommon/filter/mailfilter.cpp M +4-3mailcommon/filter/mailfilter.h M +48 -20 mailcommon/searchpattern.cpp M +34 -11 mailcommon/searchpattern.h M +1-1mailcommon/tests/searchpatterntes
[Bug 883459]
Git commit d64d61b470c56b92294f6adee6d74305a217628d by Andras Mantia. Committed on 04/07/2012 at 17:35. Pushed by amantia into branch 'master'. A biggish refactoring of the filter functionality: 1) Do not take the items from the cache only, as they might be incomplete (especially in online imap case, but not only). This should fix the body loss bug on spam filtering.(Bug 287752 and similar ones + countless of reports on user list) Might fix 293768. 2) Download only what is really needed for the filter and add safety checks that the mail is not modified if the requested part is missing. So far the distinction was only betwee the body and rest. This should speed up filtering. Also related to 287752, but should fix also 292283, 288109. 3) Rename qDebug->kDebug + fix some includes 4) The code should also fix the duplicate mails appearing after filtering (some of the duplicates with empty content), eg. 275233 All bug reporters: in case you still see the bug, reopen the corresponding one. For the reports that were CC'd, but not closed, please try to reproduce and tell the result. So far the bug is fixed on master, but might be backported later to 4.9. Related: bug 287752, bug 292283, bug 288109, bug 286043, bug 295484, bug 302337, bug 295000, bug 295684, bug 293768, bug 275233, bug 293918, bug 284310, bug 286364 M +7-11 kmail/kmcommands.cpp M +10 -7kmail/kmcommands.h M +1-1kmail/kmmainwidget.cpp M +1-5mailcommon/filter/filteraction.cpp M +6-5mailcommon/filter/filteraction.h M +6-0mailcommon/filter/filteractionaddheader.cpp M +2-0mailcommon/filter/filteractionaddheader.h M +2-2mailcommon/filter/filteractionaddtag.cpp M +1-1mailcommon/filter/filteractionaddtag.h M +9-3mailcommon/filter/filteractionaddtoaddressbook.cpp M +2-0mailcommon/filter/filteractionaddtoaddressbook.h M +7-0mailcommon/filter/filteractionbeep.cpp M +1-0mailcommon/filter/filteractionbeep.h M +18 -1mailcommon/filter/filteractioncopy.cpp M +7-0mailcommon/filter/filteractioncopy.h M +6-0mailcommon/filter/filteractiondelete.cpp M +1-0mailcommon/filter/filteractiondelete.h M +5-0mailcommon/filter/filteractionexec.cpp M +1-0mailcommon/filter/filteractionexec.h M +5-0mailcommon/filter/filteractionforward.cpp M +1-0mailcommon/filter/filteractionforward.h M +6-0mailcommon/filter/filteractionmove.cpp M +2-0mailcommon/filter/filteractionmove.h M +6-0mailcommon/filter/filteractionpipethrough.cpp M +1-0mailcommon/filter/filteractionpipethrough.h M +6-0mailcommon/filter/filteractionplaysound.cpp M +2-0mailcommon/filter/filteractionplaysound.h M +5-0mailcommon/filter/filteractionredirect.cpp M +1-0mailcommon/filter/filteractionredirect.h M +6-1mailcommon/filter/filteractionremoveheader.cpp M +1-0mailcommon/filter/filteractionremoveheader.h M +6-0mailcommon/filter/filteractionreplyto.cpp M +1-0mailcommon/filter/filteractionreplyto.h M +6-0mailcommon/filter/filteractionrewriteheader.cpp M +1-0mailcommon/filter/filteractionrewriteheader.h M +6-0mailcommon/filter/filteractionsendfakedisposition.cpp M +1-0mailcommon/filter/filteractionsendfakedisposition.h M +8-2mailcommon/filter/filteractionsendreceipt.cpp M +1-0mailcommon/filter/filteractionsendreceipt.h M +6-0mailcommon/filter/filteractionsetidentity.cpp M +1-0mailcommon/filter/filteractionsetidentity.h M +6-0mailcommon/filter/filteractionsetstatus.cpp M +1-0mailcommon/filter/filteractionsetstatus.h M +6-0mailcommon/filter/filteractionsettransport.cpp M +1-0mailcommon/filter/filteractionsettransport.h M +5-0mailcommon/filter/filteractionstatus.cpp M +2-0mailcommon/filter/filteractionstatus.h M +5-2mailcommon/filter/filteractionunsetstatus.cpp M +2-1mailcommon/filter/filteractionunsetstatus.h M +4-4mailcommon/filter/filterimporter/filterimporterevolution.cpp M +1-1mailcommon/filter/filterimporter/filterimporterprocmail.cpp M +1-1mailcommon/filter/filterimporter/filterimportersylpheed.cpp M +2-2mailcommon/filter/filtermanager.cpp M +2-8mailcommon/filter/filtermanager.h M +8-2mailcommon/filter/itemcontext.cpp M +8-1mailcommon/filter/itemcontext.h M +10 -17 mailcommon/filter/kmfilterdialog.cpp M +2-1mailcommon/filter/kmfilterdialog.h M +25 -8mailcommon/filter/mailfilter.cpp M +4-3mailcommon/filter/mailfilter.h M +48 -20 mailcommon/searchpattern.cpp M +34 -11 mailcommon/searchpattern.h M +1-1mailcommon/tests/searchpatterntest.cpp M +78 -47 mailfilteragent/filtermanager.cpp M +10 -8mailfilteragent/filtermanager.h M +8-6
[Bug 39409] Re: Kodak CX7525 support is broken
Yes, it happens with an up-to-date dapper. Source: libgphoto2 Version: 2.1.6-5.2ubuntu8 The bug is fixed in the libgphoto2 development branch since months. -- Kodak CX7525 support is broken https://launchpad.net/bugs/39409 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 51998] Kubuntu installer crashes
Public bug reported: I just got the shipped version of Kubuntu 6.06 LTS (64bit) and tried to install over and existing Kubuntu Dapper Beta. The installer crashes shortly after starting to check the file system and the swap partitions. I planned to install to /media/sda1. Traceback (most recent call last): File "/usr/bin/ubiquity", line 130, in ? install(sys.argv[1]) File "/usr/bin/ubiquity", line 55, in install ret = wizard.run() File "/usr/lib/python2.4/site-packages/ubiquity/frontend/kde-ui.py", line 311, in run self.process_step() File "/usr/lib/python2.4/site-packages/ubiquity/frontend/kde-ui.py", line 734, in process_step self.mountpoints_to_summary() File "/usr/lib/python2.4/site-packages/ubiquity/frontend/kde-ui.py", line 1047, in mountpoints_to_summary self.progress_loop() File "/usr/lib/python2.4/site-packages/ubiquity/frontend/kde-ui.py", line 524, in progress_loop raise RuntimeError, ("Install failed with exit code %s; see " RuntimeError: Install failed with exit code 1; see /var/log/installer/syslog and /var/log/syslog ** Affects: ubiquity (Ubuntu) Importance: Untriaged Status: Unconfirmed ** Attachment added: "The requested log files" http://librarian.launchpad.net/3269823/logs.tar.bz2 -- Kubuntu installer crashes https://launchpad.net/bugs/51998 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs