Bug 56496 - When using "add header" in filters the new header disapears after one view
Summary: When using "add header" in filters the new header disapears after one view
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail
Classification: Applications
Component: filtering (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-27 15:57 UTC by Ingar Pareliussen
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingar Pareliussen 2003-03-27 15:57:38 UTC
Version:           kmail 1.5 (using KDE KDE 3.1)
Installed from:    SuSE RPMs

To know which of my filters that filters the messages I want to use "add header" to add a X-Filter header with the necessary information to identify the filter.
This works when I open the mail with all headers on. and are in the same folder as the filtered mail. However, if I am in another folder, or if I open another mail and then return to the first mail, the X-Filter has dissapeared. 

Additional information:
I do not use pop or imap
I use the gpg-plugin from aegypten.
the folder are in mbox format.
Comment 1 Ingo Klöcker 2003-03-27 19:02:46 UTC
Sorry, but I don't understand. Please tell us exactly how to reproduce this problem. 
Comment 2 ingarp 2003-03-27 23:43:49 UTC
Subject: Re:  When using "add header" in filters the new header
 disapears after one view         

On 27 Mar 2003, Ingo Kl
Comment 3 Marc Mutz 2003-09-26 18:58:33 UTC
You need to move the "move to folder" action to the end of the action list. If you first move 
(meaning "file into folder"), then change the mail, the mail in the moved-to-folder is still the same. 
It might be that the status works, since that is stored separately from the message text, but 
adding a header will definitely fail. 
 
I should probably rename the name of the filter action from "move to folder" to "file into folder". 
Yes, I shall do that. 
Comment 4 Ingar Pareliussen 2003-09-26 20:37:42 UTC
Subject: Re:  When using "add header" in filters the new header disapears after one view

If I, as an user, can make one observation.

There is no way a user can know that the move "to folder"/"file into folder" 
must be the last item of the filter actions. As I am unaware how the internal 
kmail filtering is done, there seem to be no reason that kmail can not change 
the file after it has been moved. However, I am sure there is :).

I think you need to make sure that the move is done last internally in the 
kmail filter, so that whatever position it is in the gui it becomes the last 
filter action performed on the mail/file.

Kindly, Ingar