﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,blockedby,blocking,changelog
112,Config Option in Scripts->Before (After) Filter Action,opiopi,opiopi,"It would be useful to have a config option which run a program or a script after the filter action was performed. I'll explain why it might be useful:

Usually i read and answer all mails in the incoming folder and use then the Filter to move that mail in the appropriate folders. Sometimes my mashine crashes badly. After a restart i must rescan all folders in which a mail was moved. With the new added command 'FLUSHINDEXES' it is possible to flush the indexes after a filter action automatically. Now i use a scipt like:

{{{
ADDRESS 'YAM'
'MAILFILTER ALL'
'FLUSHINDEXES'
}}}
but i must use a menu entry in yam to call the script. A better solution would be such config option and call only 'FLUSHINDEXES' in the script.

For completness a option before a filter action is made could be useful too because a user can add an own requester which ask if he really want to filter the data also if only one mail is selected.

BTW: Thanks again for 'FLUSHINDEXES'. :-)

----
Moved from SF:[[BR]]
https://sourceforge.net/tracker/?func=detail&aid=2896979&group_id=13560&atid=363560",enhancement,closed,low,YAM 2.7,mail filtering,,minor,fixed,,,,,
