Bug 306648

Summary: kmail filters into wrong folder
Product: [Frameworks and Libraries] Akonadi Reporter: Jan Torben Heuer <mail>
Component: Mail Filter AgentAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: amantia, montel
Priority: NOR    
Version: 4.9   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jan Torben Heuer 2012-09-12 08:29:10 UTC
I have two IMAP Accounts (work and private), each having a "done/2012" folder structure.
I added two filters for manual filtering (+hotkey and toolbar) "move into work/done/2012" "move into private/done/2012". However *both* filters filter into the *work* folder.

Reproducible: Always

Steps to Reproduce:
1. add two imap accounts (offile mode activated)
2. create a done/2012 folder in each account
3. create a move filter for each account/done/2012 folder
4. try to manual apply the filters to an email and see if they are moved into the correct accounts
Actual Results:  
both, privat and work emails were in the work folder

Expected Results:  
I expected the private emails in the private folder and the work emails in the work folder

there are no other filters set.
Comment 1 Laurent Montel 2012-09-14 16:08:33 UTC
paste your filters config here (for your 2 specific filter please)
Comment 2 Jan Torben Heuer 2012-09-14 17:59:54 UTC
[Filter #0]
Applicability=0
AutomaticName=false
ConfigureShortcut=true
ConfigureToolbar=true
Enabled=true
Icon=folder-network
Shortcut=Ctrl+#
StopProcessingHere=true
ToolbarName=move to work done
accounts-set=akonadi_imap_resource_1,akonadi_maildir_resource_3
action-args-0=R
action-args-1=work@example.com/Inbox/done/2012
action-name-0=set status
action-name-1=transfer
actions=2
apply-on=manual-filtering
identifier=NhZIKRZMu3XAe6qT
name=move to work done
operator=and
rules=0

[Filter #2]
Applicability=0
AutomaticName=false
ConfigureShortcut=true
ConfigureToolbar=true
Enabled=true
Icon=user-home
Shortcut=Ctrl+Ä
StopProcessingHere=true
ToolbarName=move to private done
accounts-set=akonadi_imap_resource_1,akonadi_maildir_resource_3
action-args-0=R
action-args-1=private@example.com/Inbox/done/2012
action-name-0=set status
action-name-1=transfer
actions=2
apply-on=manual-filtering
identifier=NhZIKRZMu3XAe6qT
name=move to private done
operator=and
rules=0
Comment 3 Denis Kurz 2016-09-24 20:43:53 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 4 Denis Kurz 2017-01-07 22:44:44 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.