Bug 283319 - Filter as spam tries to move mail to non-existing folder
Summary: Filter as spam tries to move mail to non-existing folder
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: filtering (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2011-10-04 14:00 UTC by Swâmi Petaramesh
Modified: 2018-10-27 04:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Error pop-up (KDE notification) (7.09 KB, image/jpeg)
2011-10-04 14:00 UTC, Swâmi Petaramesh
Details
Concerned filter config dialog screenshot (84.23 KB, image/jpeg)
2011-10-04 15:26 UTC, Swâmi Petaramesh
Details
Now it does the same for (T)rash ! (8.85 KB, image/jpeg)
2011-10-06 09:10 UTC, Swâmi Petaramesh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Swâmi Petaramesh 2011-10-04 14:00:25 UTC
Created attachment 64202 [details]
Error pop-up (KDE notification)

Version:           4.7 (using KDE 4.7.1) 
OS:                Linux

When I manually click a mail to have it considered spam, KMail tries to move it to a non-existing "pam" folder instead of the existing "Spam" folder it has been instructed to by configuration (see attached screenshot)

Reproducible: Always

Steps to Reproduce:
Select an email, click button to manually define it as being "spam"

Actual Results:  
Error pops-up telling "Select failed, server replied : A000086 NO mailbox doesn't exist: pam

Expected Results:  
Mail should be moved to local "Spam" folder, per configuration of filter

OS: Linux (i686) release 3.0.0-12-generic
Compiler: gcc
Comment 1 Laurent Montel 2011-10-04 15:07:56 UTC
How do you created this filter ?
Comment 2 Swâmi Petaramesh 2011-10-04 15:18:06 UTC
The filter was created by the anti-spam wizard of a previous version of Kmail, before upgrading to the current release, and worked perfectly previously.

I however checked it today, and re-entered (by selecting it from the dropbox) the folder into which KMail is supposed to move spam.
Even after reconfiguring, the problem persists.

The folder is called "Spam" (and local) however KMail seems to try to move mail to a folder called "pam" (missing the S) and possibly to the remote server, as far as I can tell from the error msg ?
Comment 3 Swâmi Petaramesh 2011-10-04 15:26:41 UTC
Created attachment 64204 [details]
Concerned filter config dialog screenshot

This is the configuration dialog of concerned filter. Folder name has been selected from the dropbox
Comment 4 Laurent Montel 2011-10-05 16:29:55 UTC
I don't understand why it doesn't work for you
Do you have renamed it ?
Comment 5 Swâmi Petaramesh 2011-10-06 05:54:22 UTC
No, I haven't renamed anything, and it worked plain good before I upgraded from Ubuntu Natty (KMail 1.x) to Ubuntu Oneiric (Kmail 2). After upgrading this was broken.
Comment 6 Swâmi Petaramesh 2011-10-06 09:10:57 UTC
Created attachment 64276 [details]
Now it does the same for (T)rash !

Now this is more interesting ! Just pressing [Delete] to delete an email this morning, I get the attached pop-up telling that the "rash" folder doesn't exist, obviously missing the "T" for "Trash", as it previously missed the "S" for "Spam" => "pam"...
Comment 7 Hatl 2011-10-13 07:17:43 UTC
Same problem here

I created the filter using the "Anti-Spam wizard" (Kmail2)
Comment 8 Laurent Montel 2011-10-13 07:59:58 UTC
Which anti spam program ?
And it try to move to Pam and not Spam ?
Comment 9 Swâmi Petaramesh 2011-10-13 08:09:35 UTC
For me :

- I use bogofilter as anti-spam program, but it's probably irrelevant, because it's applying manually "classify this email as spam", that has a rule "move to Spam folder", and that rule causes the error box to appear.
- However the message is actually moved to the correct folder, so the bug is with the error message, not with the actual result (as it seems).

=> As a side note, I see KMail 2 cause a lot of "incorrect error messages". On my wife's machine, KMail very often spits error messages that it "cannot modify email in folder" for whatever reason, however the actual results (mark as read, or unread, or important, or move to another folder) are always correct.

So KMail is bugging us with buggy errors where it actually works. Your mileage may vary, but that's mine.
Comment 10 Swâmi Petaramesh 2011-11-20 11:58:27 UTC
Still unfixed. The complete "move to folder" system in Kmail is completely broken - seen on every machine I configured KMail, either IMAP or POP. Using the "Spam filtering rules" creted by the assistant (or manually) is broke, results in buggy messages being displayed, etc.
I can't believe this doesn't seem to be taken into consideration and fixed.

i.e. I myself don't quit KMail because I've been using it for 10 years and love it, but I know 3 people that have already quit using Kmail in favor of Thunderbird just because of all these bugs in the latest version (and corresponding Kubuntu Oneiric). So please wake up guys !
Comment 11 Swâmi Petaramesh 2011-12-06 18:40:21 UTC
Up ! Unfixed ! Xtremely annoying !
Comment 12 Tobias Koenig 2012-02-11 23:55:55 UTC
Hej,

can you attach your akonadi_mailfilter_agentrc here, please?

Ciao,
Tobias
Comment 13 Andrew Crouthamel 2018-09-22 02:03:52 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 14 Andrew Crouthamel 2018-10-27 04:01:40 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!