Bug 2195 - Improve folder processing
Summary: Improve folder processing
Status: NEW
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Filtering (show other bugs)
Version: 3.7.6
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2010-05-06 05:40 UTC by Michal Kurgan
Modified: 2010-05-06 07:13 UTC (History)
0 users

See Also:


Attachments

Description Michal Kurgan 2010-05-06 05:40:39 UTC
Currently we can assign per folder processing that is executed at startup, display and on request. However it would be very useful to permit additional processing triggers, e.g. insert into folder.

Adding additional trigger would require probably small revamp of processing setup. Currently processing triggers are specified globally for all folder actions in folder Properties dialog. Triggers should be processing entry specific, similarly as filters are assigned to account. User could select if specific entry should be executed on specific trigger or some predefined set of triggers, e.g. ALL, Startup, Entry, Insert.

Use case, per folder notifications on receiving mail (i.e. messages of specific person, failure notifications).
Comment 1 Holger Berndt 2010-05-06 06:10:25 UTC
When you let insertion into a folder trigger processing rules, you have to do some kind of loop-detection.
Comment 2 Michal Kurgan 2010-05-06 06:43:58 UTC
Can you be more specific what you mean by loop-detection? Do you just mean here something like moving message between two folders?
Comment 3 Holger Berndt 2010-05-06 06:46:58 UTC
Yeah, bouncing messages. Folder A sends the message to Folder B, which sends it back to A, which sends it back to B, until eternity. When those chains get more complicated, it's not entirely trivial to detect such loops.
Comment 4 Michal Kurgan 2010-05-06 07:13:54 UTC
Solution may be as simple as defining trigger as "Filter Insert/Move".

Note You need to log in before you can comment on or make changes to this bug.