Bug 2301

Summary: Remove attach plugin should expose conditions and actions for filter and processing rules.
Product: Claws Mail (GTK 2) Reporter: Mac Ryan <quasipedia>
Component: Plugins/AttRemoverAssignee: users
Status: NEW ---    
Severity: enhancement CC: mones, quasipedia
Priority: P3    
Version: other   
Hardware: All   
OS: All   

Description Mac Ryan 2010-11-19 14:03:56 UTC
As per request, I am filing here the suggestion previously explained by mail...

WHAT:
I think it would be a truly helpful addition to add the possibility for the remove attachment plugin to expose a couple of conditions and actions on both the filtering and processing rules.

WHY:
Typical usage scenarios would include removing images from html mails (in a filter) or remove old, superseded versions of a documents being discussed on a ML, keeping the comments in the mail body (in a processing rule).
     Less typical but still relevant scenario (this is my case right now) to remove attachments from over 35.000 individual mails on migration to claws-mail from another platform that would not allow attach removal.

HOW:
Ideally, conditions should expose at least file types / file extensions [power users might appreciate the possibility of using a regex, though], while I would be happy to have a "delete" option only in the actions [a plus could be to have a "save to folder" option as well, though].
     I think exposing the file types / file extensions is essential because some mail client forwards messages as attachment, and typically these are not to be removed.

Regards and congratulation for the awesome piece of software! :)