[imp] Custom mail processing button

Frederik Holst horde at traintraveltogether.de
Wed Feb 15 16:59:22 PST 2006


Dear list,

I have the following problem:

In some accounts, I get a lot of Spam. Sometimes, but not always, all  
new mail is Spam. In order to move this straight to the Spam-folder  
for postprocessing with razor, I have to mark all unread messages,  
click "Report as Spam" and confirm.
I cannot use an Ingo-filter because it's not possible to just apply  
one single rule to the current folder. It always applies all my rules,  
therefore, it doesn't work.

I now "created" my own button in the same row which uses the  
IMP-javascript to automatically mark all unread messages and move them  
to my Trash-folder.
This, of course, has a number of drawbacks: Because on my system, the  
"Trash" folder is the last one in the list, I just use the last entry  
of the folder-list. This will definitively create problems as soon as  
I let other users use my system.
And I have to recreate this button everytime I update my IMP-installation.

So my request would be whether it is possible to either
a) make a customizable button where one can define actions that should  
be done with the messages displayed (for example: select all unread  
messages, move them to Folder "x")
or
b) have icons for selected Ingo-filter rules, so one could just create  
a filter rule like that and apply that (and only that) to the current  
folder.

I'm sure, others could need this "one-click-solution" to get rid of  
new Spam, too.

Cheers,

Frederik.


More information about the imp mailing list